State whether each of the following is true or false. If false, explain why. a) All methods in an…
State whether each of the following is true or false. If false, explain why.
a) All methods in an abstract base class must be declared abstract.
b) Referring to a derived-class object with a base-class reference is dangerous.
c) A class with an abstract method must be declared abstract.
d) Methods that are declared abstract still must be implemented when they are declared.
e) Classes declared with the sealed keyword cannot be base classes.
f) Polymorphism allows programmers to manipulate derived classes with references to base classes.
g) Polymorphic programming can eliminate the need for unnecessary switch logic.
h) Use keyword abstract to declare an abstract method.
i) The delegate’s declaration must specify its implementation.