Answer the following statements true (T) or false (F)
1. Concrete classes provide implementations for at least one of the methods and properties they define.
2. You may define implementations for abstract methods to act as a default.
3. All methods in an abstract class are abstract.
4. The MustOverride keyword has the same effect as the Overridable keyword.
5. Objects of abstract base classes can be instantiated.
1. False. Concrete classes provide implementations for every method and property they
define.
2. False. Attempting to provide an implementation for an abstract method is a syntax
error.
3. False. An abstract class may contain instance data and non-abstract methods.
4. False. A MustOverride method has no implementation and must be overridden while an Overridable method provides an implementation and the option of being overridden in derived classes.
5. False. Only concrete classes can instantiate objects.
You might also like to view...
Each category of information warfare consists of both offensive and defensive strategies.
a. true b. false
Properties displayed in black text in the CSS Designer panel are ____.
A. inherited B. locked C. inactive D. active