NOTE : This question was asked to me in an Interview
We have 3 classes having different properties.
class A{}
class B extends A{}
class C extends A{}
Can I call any method present among these 3 classes with a Single Obj ?
I got confused because class B don't have properties of class C and viceversa.
Is there any way to make this possible ?