Consider this code:
class Test { Test() { System.out.println(\"In constructor of Superclass\"); } int adds(int n1, int n2) { ret
Constructor of Super class in called first because all the methods in the program firstly present in heap and after compilation they stores in to the stack,due to which super class constructor is called first.