Hybrid Inheritance In Java Code