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

Common classifications of _________ include viruses, worms, and trojans.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

What are the three activation types allowed by a volume license agreement?

What will be an ideal response?

Computer Science & Information Technology