I have two Java classes: B, which extends another class A, as follows :
class A { public void myMethod() { /* ... */ } } class B extends A { public
See, here you are overriding one of the method of the base class hence if you like to call base class method from inherited class then you have to use super keyword in the same method of the inherited class.