What is constructor chaining and how is it achieved in Java?
Short Answer
Views 606
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.
Related Articles:
This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.
Join Our telegram group to ask Questions
Click below button to join our groups.