In Java, a reference variable is __________ because it can reference objects of types different from its own, as long as those types are related to its type through inheritance.
A) static
B) dynamic
C) polymorphic
D) public
Correct Answer:
Verified
Q2: Because every class directly or indirectly inherits
Q3: An abstract class is not instantiated itself
Q4: A(n) _ method is a method that
Q5: A functional interface is simply an interface
Q6: If a subclass constructor does not explicitly
Q8: When a subclass extends a superclass, the
Q9: Inheritance involves a subclass, which is the
Q10: A _ member's access is somewhere between
Q11: Which of the following shows the inheritance
Q12: In an inheritance relationship, the subclass constructor
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