A is correct because polymorphism allows objects to act as other objects. The other objects are more general forms of the original object.
D is correct because polymorphism also allows different classes that share some common functionality to be treated the same. They must all implement the same interface.
B and C are incorrect.
B is incorrect because less code may be required, but this is not always the case.
C is incorrect because objects can be referenced only in their more general form. An object cannot be used as a more specific object that extends it later.
|