adspace
What is the difference between interface and functional interface?
Answer Posted / Akshit Shakolay
An interface in C# defines a contract for a set of methods, properties, and events that a class must implement. It cannot be instantiated on its own. A functional interface, on the other hand, is an interface with only one abstract method. In Java 8 and later versions, Functional Interfaces are used to represent lambda expressions.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers