Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public final class Direction {
- public static final String NORTH = "north";
- public static final String SOUTH = "south";
- public static final String EAST = "east";
- public static final String WEST = "west";
- }
- public class Person {
- private int age;
- private String name;
- public void setAge(int age) { this.age = age; }
- public int getAge(){ return age; }
- public void setName(String name) { this.name = name; }
- public String getName() { return this.name; }
- }
Add Comment
Please, Sign In to add comment