Java OOPs Interview Questions and Answers
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:
|
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
Most helpful rated by users: