Which interface is used to represent a function that does not return a result in Java?
a) Function
b) Predicate
c) Consumer
d) Supplier
Answer: c) Consumer
Explanation: The Consumer interface is used to represent a function that does not return a result in Java.