Multiple Choice
Which of the following statements is correct?
A) is-a and has-a relationships cannot be combined.
B) An abstract class can be instantiated.
C) An abstract class cannot declare abstract methods.
D) In Java, a variable of a superclass type can reference an object of a subclass type.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q22: In UML class diagrams, the _ sign
Q23: Which of the following statements is correct?<br>A)
Q24: The class _ is the superclass of
Q25: Which of the following would cause an
Q26: A major reason for the popularity of
Q28: The _ is thrown when a program
Q29: The _ represent error conditions that may
Q30: The combination of data together with its
Q31: A Java interface is a(n) _ between
Q32: The call to _ invokes the constructor