176k views
5 votes
Which of the following statements is false? a. As of Java SE 8, any interface containing only one method is known as a functional interface. b. There are many functional interfaces throughout the Java APIs. c. Functional interfaces are used extensively with Java SE 8â s new lambda capabilities. d. Anonymous methods provide a shorthand notation for creating lambdas.

1 Answer

1 vote

Answer:

d. Anonymous methods provide a shorthand notation for creating lambdas.

Step-by-step explanation:

Java SE 8, is Standard Edition of Java. It is a computing platform for deployment of portable code for servers. The statement that is not correct is anonymous method provide shorthand notation. Lambda expression are added in Java 8, which enables to treat functionality as method argument code or data. Lambda expression can be passed around as it is an object executed on demand.

User Qmeeus
by
4.6k points