Java Inheritence.