Answer the following statements true (T) or false (F)
1) It’s possible to treat base-class objects and derived-class objects similarly.
2) All methods in an abstract class must be declared as abstract methods.
3) Attempting to invoke a derived-class-only method through a base-class variable is an error.
4) If a base class declares an abstract method, a derived class must implement that method.
5) An object of a class that implements an interface may be thought of as an object of that
interface type.
1) True.
2) False. An abstract class can include methods with implementations and abstract
methods.
3) True.
4) False. Only a concrete derived class must implement the method.
5) True.
You might also like to view...
What is the printout of the following code?
```
#include
Match the following keystrokes with how they are used in Edit Mode on datasheets and forms
I. $$$Home$$$ II. $$$End$$$ III. $$$Enter$$$ IV. $$$Ctrl$$$ + $$$Home$$$ V. $$$Ctrl$$$ + $$$End$$$ A. Moves to the first character in the field B. Switch to Navigation mode and move from field to field C. Moves to the last character in the field D. Moves to the last character in the field E. Moves to the first character in the field
____________________ cells involves creating a single cell by combining two or more selected cells.
Fill in the blank(s) with the appropriate word(s).
A(n) ____ is a data type that separates the logical properties from the implementation details.
A. public B. protected C. private D. abstract data type