What is constructor chaining and how is it achieved in Java?

Java Programming Language >   Class, Object and Methods in java >   About Java Tutorial  

Short Question

708


Answer:

A child object constructor always first needs to construct its parent. In Java it is done via an implicit call to the no-args constructor as the first statement.


This Particular section is dedicated to Question & Answer only. If you want learn more about Java Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.