If the superclass contains only abstract method declarations,the superclass is used for ________.
A) implementation inheritance.
B) interface inheritance.
C) Both.
D) Neither.
Correct Answer:
Verified
Q2: Polymorphism enables you to:
A) program in the
Q3: In Java SE 7 and earlier,an interface
Q5: Declaring a method final means:
A) it will
Q7: A(n) class cannot be instantiated.
A)final.
B)concrete.
C)abstract.
D)polymorphic.
Q10: For which of the following would polymorphism
Q13: Which of the following is false?
A) You
Q13: When a superclass variable refers to a
Q14: Which of the following could be used
Q15: Consider classes A, B and C, where
Q17: Assigning a subclass reference to a superclass
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