Menu
Question Index
...

Which of the following is incorrect?

X: this() is used to invoke a constructor of the same class.
Y: super() is used to invoke a superclass constructor.


X only
Y only
Both are correct
Both are incorrect

Doubts

Problems

Topic: Inheritance And Constructors In Java

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App