When overriding a superclass method and calling the superclass version from the subclass method, failure to prefix the superclass method name with the keyword super and a dot (.) in the superclass method call causes ________.
a. a compile-time error.
b. a syntax error.
c. infinite recursion.
d. a runtime error.
c. infinite recursion.
Computer Science & Information Technology
You might also like to view...
The UML class diagram is a rectangle that has three sections. Fill in the members with necessary symbols for public, protected and private members.
class Square
{
public:
// unlisted members
void resize(double newSide);
void move(Pair
protected:
void erase();
// other members
private:
double side;
Pair
};
Computer Science & Information Technology
Which connector is used for UTP cabling on a network?
A. RF-11 B. BNC C. RS-232 D. RJ-45
Computer Science & Information Technology