Example For Hybrid Inheritance In Java