• CONTEST ALERT - Experience the power of DDR5 memory with Kingston Click for details

code--

  1. Plasma_Snake

    JAVA Query

    Consider a scenario; class2 extends class1 { --some code-- } class3 extends class2 { --some code-- } Now since its a text book example of Hierarchical Inheritance, is it possible: for class3 to access a method of class1? If Super is used whose Constructor is called, class1's or class2's ...
Top Bottom