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

Computer Science & Information Technology

You might also like to view...

Which of the following is a file-sharing protocol that allows users to access files and folders on other computers across a network?

A. Active File System B. Shared File System C. Network File System D. Managed File System

Computer Science & Information Technology

Windows 10 Enterprise and Education editions do not include support for tablet computers as a standard feature.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology