The 'super' keyword is used to ___

32. The 'super' keyword is used to ___.

  1. Access instance of the parent class
  2. Access instance of the same class
  3. Access instance of child class
  4. Access instance of friend class

Answer: A) Access instance of the parent class

Explanation:

The super keyword refers to superclass (parent) objects. It is used to call superclass methods, and to access the superclass constructor.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.