What is required for an interface method that has a body?
A) The method header must begin with the key word default.
B) A class that implements the interface must override the method.
C) The @Default annotation must precede the method header.
D) All of the above
Correct Answer:
Verified
Q9: Inheritance involves a subclass, which is the
Q15: It is not possible for a superclass
Q50: In a class hierarchy:
A) the more general
Q51: Like a family tree, a _ shows
Q52: Private members of the superclass cannot be
Q53: An anonymous inner class must:
A) implement an
Q55: Look at the following code: Line 1
Q57: Which of the following is an example
Q58: Which of the following statements correctly specifies
Q59: Look at the following code: Line 1
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