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


Please Help Members By Posting Answers For Below Questions

Why can't we use a static class instead of singleton?

956


How to assign Null value to Var?

1065


How do you inherit a class into other class in c#?

996


What is expression tree in c#?

998


Which namespaces are necessary to create a localized application?

1143


What is an abstract class c#?

969