Q. Which of the following is not a functional interface in Java 8?
β
Correct Answer: (D)
Comparator
Explanation: Although it is often used with functional programming constructs such as lambda expressions, Comparator is not a functional interface because it has two abstract methods.