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

Match the following network connections with their descriptions:

I. Broadband II. Cable III. DSL IV. Mobile broadband V. Satellite A. An Internet connection that uses satellites to broadcast data. B. Divides a transmission path into channels to accommodate more data traffic C. A means of connecting mobile devices to the Internet by using the same cellular network used by mobile phones to make calls D. Popular broadband connection using the same technology as cable television E. A popular broadband connection that divides existing telephone lines into several channels

Computer Science & Information Technology

________ menus appear when the user ________-clicks on a database object such as a form

A) Shortcut, left B) Shortcut, right C) AddMenu, right D) AddMenu, left

Computer Science & Information Technology