Hi guys, here is a question from Glenn, Mitchell.
OCAJP Oracle Certified Associate
Java SE 8 Programmer Practice Exams (Kindle Locations 7523-7531). Enthuware. Kindle Edition.
What can be inserted in the code below so that it will print UP UP UP?
Select 2 options
A.
B.
C.
D.
E.
Correct answers are A and C. Why A?
I mean s reference type is Speak which has no relation with the interface, so in this case the reference doesn't matter but the class of the object (GoodSpeak) does?