Which of the statements regarding the super keyword is incorrect?
a. You can use super to invoke a super class constructor.
b. You can use super to invoke a super class method.
c. You can use super.super.p to invoke a method in superclass's parent class.
d. You cannot invoke a method in superclass's parent class.
c Using super.super is not allowed in Java. So, the answer to this question is C.
You might also like to view...
Can a web sever obtain SSL server certificates from two or more certification authorities? Justify your answer
What will be an ideal response?
A reason for passing a pointer to a function is
A) to avoid the overhead of copying large data structures. B) to allow the called function to modify a variable accessible to the calling function. C) to allow easy access to data in the function that is being called. D) A and B are both true. E) None of the above