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...
Employee is a base class and HourlyWorker is a derived class, with a redefined non-virtual print function. Given the following statements, will the output of the two print function calls be identical?
HourlyWorker h; Employee *ePtr = &h; ePtr->print(); ePtr->Employee::print(); a. Yes. b. Yes, if print is a static function. c. No. d. It would depend on the implementation of the print function.
The Esc key allows you to exit a slide show at any point in the presentation
Indicate whether the statement is true or false
Round robin is a load-balancing mechanism used by DNS servers to distribute name resolution activity among all available DNS servers
Indicate whether the statement is true or false
What version of RSLogix 5000 software was the first release that would run under Windows 7?
What will be an ideal response?