Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- Implements a generalized interface for
- types of movement by objects.
- */
- public interface Movement
- {
- public void move(int n);
- public String getPosition();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement