Java, Subsumption