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.


a. The method header must begin with the key word default.

Computer Science & Information Technology

You might also like to view...

Insert a(n) ________ when you have a specific spot in the text you want to be able to access quickly without scrolling through the entire document

Fill in the blank(s) with correct word

Computer Science & Information Technology

Explain in which respects DSM is suitable or unsuitable for client-server systems.

What will be an ideal response?

Computer Science & Information Technology