Examlex

Solved

You Can Declare That an Interface Is a Functional Interface

question 47

Multiple Choice

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.


Definitions:

UCC

Stands for the Uniform Commercial Code, which is a comprehensive set of laws governing all commercial transactions in the United States.

Electrical Portion

The part of a system or device that pertains to or operates through the use of electricity.

Lowest Bid

The least amount of money offered by a contractor to complete a specified project or job in a bidding process.

Stock Exchange

A marketplace where securities, such as stocks and bonds, are bought and sold.

Related Questions