Multiple Choice
Assigning a derived class reference to a base class variable is safe:
A) because the derived class has an object of its base class.
B) because the derived class is an object of its base class.
C) only when the base class is abstract.
D) only when the base class is concrete.
Correct Answer:

Verified
Correct Answer:
Verified
Q22: Polymorphism enables you to:<br>A) program in the
Q52: By convention,the name for a Car interface
Q53: An interface reference may invoke only the
Q54: A class that implements an interface may
Q55: Which statement best describes the relationship between
Q57: Polymorphism allows the addition of classes providing
Q58: Polymorphism specifically enables the creation of programs
Q59: An abstract class cannot have instance data
Q60: Which of the following characteristics could be
Q61: When used correctly,polymorphism will never require changes