Chapter 10: Problem 2
State whether cach of the statements that follows is true or false. If \(f\) alse, explain why. a) All methods in an abstract class must be declared as abstract methods. b) Invoking a subclass-only method through a subclass variable is not allowed. c) If a superclass declares an abstract method, a subclass must implement that method. d) An object of a class that implements an interface may be thought of as an object of that interface type.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.