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 each term with the correct statement below.

A. an encrypted alternative to the Telnet protocol that is used to access remote computers B. using wireless technologies for asset tracking of wireless equipment C. device in an IEEE 802.1X network that makes an appeal for access D. a method for auditing usage by using an algorithm to determine if a threat exists E. a standard originally developed for wired networks that blocks all traffic on a port-by-port basis until the client is authenticated F. a security management system that constantly monitors the RF for attacks and sounds an alert if one is detected G. an encryption cipher that takes one character and replaces it with another character H. dynamically generating a new key for each packet to preventing collisions I. providing access based on a user's job function within an organization J. a device in an IEEE 802.1X network that accepts or rejects a supplicant

Computer Science & Information Technology

Which of the following does not display to the right side of a selected chart?

A) Move Chart button B) Chart Elements button C) Chart Styles button D) Chart Filters button

Computer Science & Information Technology

Which of the following is a commonly hidden web page element?

A. nav bar B. main heading C. footer D. all of the above

Computer Science & Information Technology

____ contain instructions for the OS for hardware devices, such as the keyboard, mouse, and video card, and are stored in the systemroot\Windows\System32\Drivers folder.

a. Hal.dll b. Device drivers c. Ntoskrnl.exe d. Pagefile.sys

Computer Science & Information Technology