0 votes
in JAVA by

Which of the following is not a functional interface in Java 8?

a) Runnable

b) Comparable

c) Callable

d) Predicate

1 Answer

0 votes
by
Answer: b) Comparable.

Explanation: Although Comparable is an interface in Java, it is not considered a functional interface because it has more than one abstract method. A functional interface is an interface that has exactly one abstract method.
...