I am greatly confused with Overriding Constructors. Constructor can not be overridden is the result what i get when i searched it in google my question is
p
it is not overriding super class constructor and constructor can not be overridden it can be overloaded.
When you create child class object super class will be instantiated first then sub class will be instantiated. Its like Child can not be existed without parent.
Compiler will automatically call super class constructor from sub class constructor .
Sub() {
super();
System.out.println("In Sub constructor");
}