Important Java Mcq 1

Which of these keywords is used to refer to member of base class from a subclass?

a) upper

b) super

c) this

d) none of the mentioned

Answer

b) super

Explanation:

Whenever a subclass needs to refer to its immediate superclass, it can do so by use of the keyword super.

Related MCQs
Aniket Malik

Aniket Malik

CERTIFIED TUTOR/TRAINER WITH 300+ REVIEWS

Facing difficulty with

this concept?