Question: What is the 'this()' constructor call in Java?Answer: The 'this()' constructor call is used to invoke another constructor in the same class. It must be the first statement in the constructor if used.Example:
|
Is it helpful?
Yes
No
Most helpful rated by users: