The startPlaying method will except as an argument any object that implements that Audible interface.
A, B, and C are incorrect.
A is incorrect because Audible is an interface, not a class.
B is incorrect because this example is already using polymorphism.
C is incorrect because Object is the implied base class for all objects.
|