






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







class C { public void disp() { System.out.println("C"); } } class A extends C { public void disp() { System.out.println("A"); } }
HYBRID INHERITANCE- Example 2 Drink Juice Soda Smoothie SuperDrink Energy boost (Interface)
HYBRID INHERITANCE-Example 3 LaserPower(interf ace) FlyingHero SuperHero Hero
THANK YOU !!!!