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...

The only way to select all of a table is to drag through each row.

a. true b. false

Computer Science & Information Technology

The Insights pane Explore tab displays synonyms and web results

Indicate whether the statement is true or false

Computer Science & Information Technology