Here is the code, I defined two class named Father and Son, and create them in the main function:
public class Test { public static void main(String[] ar
Father() is called before Son(). The superclasses default constructor is implicitely called, we don't need a super() statement here.
Father()
Son()
super()
And who() inside the constructor of Father() calls the overriding method.
who()