Question: what is the difference between interface and functional interface in java?
Answer: Answer: In Java, a Marker interface is an interface without any methods or fields declaration, means it is an empty interface. Similarly, a Functional Interface is an interface with just one abstract method declared in it. ... Lambda expression works on functional interfaces to replace anonymous classes.