Which of the following is not a functional interface in Java 8?
a) Consumer
b) Supplier
c) Runnable
d) Comparator
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.