Can we call sub class constructor from super class constructor?
Java Calling-methods-of-the-superclass 02-03 min 10-20 sec
There is an way to call the constructor of the super-class using method overriding.
Logically processing your question, the question arises on how to define the constructor in the super-class of the sub-class?
I believe any other way is not possible.
Have a great day ahead.
Login to add comment