What is constructor chaining and how to do this in Java?

What is constructor chaining and how to do this in Java?

Super class constructors are always executed before subclass constructors is called as constructor chaining.
�this()� is used to call matching constructor from the same class.
�super()� is used to call matching constructor from immediate superclass.

By:Sumit Tripathi
Date:2026-05-15 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher