Which of these keywords is used to refer to member of base class from a sub class?
A. upper
B. super
C. this
D. None of the mentioned
Answer:A
Which of these keywords is used to refer to member of base class from a sub class?
A. upper B. super C. this D. None of the mentioned
Explanation: Whenever a subclass needs to refer to its immediate superclass, it can do so by use of the keyword super.