Last active
August 29, 2015 14:00
-
-
Save atticoos/496da509a61ba52d2fc1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Person | |
{ | |
private Head head; | |
private Torsoe torsoe; | |
private Arm leftArm; | |
private Arm rightArm; | |
private Leg leftLeg; | |
private Leg rightLeg; | |
} | |
class Head | |
{ | |
private Eye[] eyes; | |
private Nose nose; | |
private Mouth mouth; | |
} | |
class Eye | |
{ | |
private String color; | |
private Boolean nearSighted; | |
private Integer sightStrength; | |
} | |
class Arm | |
{ | |
private Hand hand; | |
} | |
class Hand | |
{ | |
private Finger[] fingers; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment