What are functions Java 8?

In Java 8, Function is a functional interface ; it takes an argument (object of type T) and returns an object (object of type R). The argument and output can be a different type.

Sizin İçin Seçtik  What is declaration in Java?

Leave a Reply

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