in JAVA by
What distinguishes a Java functional interface from a conventional interface?

1 Answer

0 votes

While the functional interface in Java can only contain one abstract method, the normal interface can include any number of abstract methods. They wrap a function in an interface, which is why they are termed functional interfaces. The one abstract method on the interface serves as the function's representation.

Related questions

0 votes
asked May 2, 2021 in JAVA by sharadyadav1986
0 votes
asked Aug 21, 2022 in JAVA by sharadyadav1986
+1 vote
asked Apr 15, 2021 in JAVA by SakshiSharma
0 votes
asked Oct 11, 2020 in JAVA by SakshiSharma