First of all class doesnot support multiple inheritance consider class A as superclass class B and C are sub class of A.comment : class cannot extend more than one class think class D extends B and cthe method present in class A,B,C are alike if u call a method in class d we don&
Category:Java Interview Questions
No comments:
Post a Comment