Multiple Choice
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 these are true.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: All methods in an abstract class must
Q2: What type of relationship exists between two
Q3: In the following code, what will the
Q5: If ClassC is derived from ClassB which
Q6: A class becomes abstract when you place
Q7: Given the following code, which statement is
Q8: A functional interface is simply an interface
Q9: When a method is declared with the
Q10: In _, inheritance is shown with a
Q11: A subclass can directly access _.<br>A) only