Multiple Choice
Of the two classes Cola and Soda, which would most likely be the subclass?
A) Cola
B) Soda
C) Both
D) Either
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: In a UML diagram depicting inheritance, you
Q5: In the following line of code, what
Q6: _ allows a new class to inherit
Q7: Examine the following piece of code:<br>Class Potato
Q8: It is not possible to indicate inheritance
Q9: Which method can you use to determine
Q19: In an inheritance relationship,the extended class is
Q21: New attributes and methods may be added
Q28: Polymorphism works on any two class methods
Q34: What gives a program the ability to