In Java, polymorphic references can be created through the use of __________________ and ________________.
A) inheritance, interfaces
B) inheritance, abstract classes
C) interfaces, abstract classes
D) interfaces, iterators
E) none of the above
Correct Answer:
Verified
Q8: Let Animal be an interface. Then it
Q9: The Comparable interface contains which of the
Q10: Consider the following line of code. Comparable
Q11: Let Dog be a subclass of Animal,
Q12: Let Object a be larger than Object
Q14: Suppose Animal is an interface that specifies
Q15: In order to create a class that
Q16: Which GUI concepts use polymorphism to establish
Q17: A parameter to a method can be
Q18: A polymorphic reference is one that can
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents