0 votes
in JAVA by
What are SAM or functional interfaces?

1 Answer

0 votes
by

An interface having a single abstract method is referred to as a functional interface. It is also referred to as the Single Abstract Method (SAM) interface as a result. It encapsulates a function as an interface, or, to put it another way, a function is defined by a dependent upon the type method of the interface, which is why it is known as a reference implementation. The amount of static, overridden and default methods in functional interfaces is infinite. Regarding stating Functional Interfaces

Related questions

0 votes
asked May 31, 2022 in JAVA by Robin
0 votes
asked Aug 21, 2022 in JAVA by sharadyadav1986
...