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
Q18: You should always override the _ method
Q19: In UML class diagrams, the _ sign
Q20: If no constructors are defined for a
Q21: A data field (or method) with _
Q22: The call to _ invokes the constructor
Q24: Which of the following statements is correct?
A)
Q25: Which of the following methods of java.lang.Object
Q26: The nextInt method will throw a(n) if
Q27: ArrayIndexOutOfBoundsException is thrown by the JVM when
Q28: A _ is thrown when the token
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