Added LearnSingleInheritance.java