You can declare that an interface is a functional interface by preceding it with the @FunctionalInterface annotation. The compiler will then ensure that the interface contains ________; otherwise, it’ll generate a compilation error.

a. no abstract methods
b. all abstract methods
c. only one abstract method
d. one or more abstract methods.


c. only one abstract method

Computer Science & Information Technology

You might also like to view...

What data validation method is designed to restrict the data values entered into a field?

A) Validation rule B) Validation text C) Input mask D) Lookup list

Computer Science & Information Technology

Using ________ view enables you to see thumbnails of all of the slides in the presentation

Fill in the blank(s) with correct word

Computer Science & Information Technology

A high-quality audio port that uses coax cabling with RCA connectors or fiber optic cabling and connectors.

A. SATA B. S/PDIF C. RCA D. Fiber

Computer Science & Information Technology

____ occurs when someone obtains enough information about a person to be able to masquerade as that person for a variety of activities—usually to buy products or services in that person’s name.

A. Data theft B. Information theft C. Identity theft D. Database theft

Computer Science & Information Technology