Home » Interview » Technology

How to call a constructor in java?

Correct Answer: Constructor chaining is the process of calling one constructor from another constructor with respect to current object Within same class: It can be done using this() keyword for constructors in same class From base class: by using super() keyword to call constructor from the base class

← Previous Question

More Questions from Technology

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion