Which of the following is an example of functional interface in Java 8?

From Java 8 onwards, lambda expressions can be used to represent the instance of a functional interface. A functional interface can have any number of default methods. Runnable, ActionListener, Comparable are some of the examples of functional interfaces.

Sizin İçin Seçtik  SelfKey coin nedir?

Leave a Reply

Your email address will not be published. Required fields are marked *

Which of the following is an example of functional interface in Java 8?

From Java 8 onwards, lambda expressions can be used to represent the instance of a functional interface. A functional interface can have any number of default methods. Runnable, ActionListener, Comparable are some of the examples of functional interfaces.

Sizin İçin Seçtik  Binance CEO kim?

Leave a Reply

Your email address will not be published. Required fields are marked *