Question OOP-CTOR-0012
MediumWhat is constructor chaining in Java?
- A.
One constructor calling another using this(...) or super(...)
- B.
Calling a destructor from a constructor
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Constructors and Destructors question
What is constructor chaining in Java?
One constructor calling another using this(...) or super(...)
Calling a destructor from a constructor
Sign up free to see the answer and a step-by-step explanation.
Creating objects in a loop
Linking two classes