Skip to content

Instantly share code, notes, and snippets.

@atticoos
Last active August 29, 2015 14:00
Show Gist options
  • Save atticoos/496da509a61ba52d2fc1 to your computer and use it in GitHub Desktop.
Save atticoos/496da509a61ba52d2fc1 to your computer and use it in GitHub Desktop.
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