Which of the statements regarding the super keyword is incorrect?

A. You cannot invoke a method in superclass's parent class.
B. You can use super to invoke a super class constructor.
C. You can use super.super.p to invoke a method in superclass's parent class.
D. You can use super to invoke a super class method.

Respuesta :

Answer:

C is incorrect statement regarding super keyword

Explanation:

We can not use super.super.p to invoke superclass's parent class because it is not allowed in accordance with syntax so option C is incorrect.

The statement that is incorrect about the super keyword is that C. You can use super.super.p to invoke a method in superclass's parent class.

The super keyword simply refers to superclass objects. It is simply used in calling superclass methods and accessing superclass constructor.

It should be noted that a user cannot invoke a method in superclass's parent class. A super keyword can be used to invoke a super class constructor.

Learn more about super keywords on:

https://brainly.com/question/13038737

ACCESS MORE
EDU ACCESS