What is a functional interface in Java? Give an example.

What is a functional interface in Java? Give an example.

From the BUET MSC (CSE) April 2024 – Written exam, question 5 of 13.

More from this paper