πŸ“Š JAVA
Q. Which functional interface is used to evaluate conditions with lambda expressions?
  • (A) Function
  • (B) Consumer
  • (C) Predicate
  • (D) Supplier
πŸ’¬ Discuss
βœ… Correct Answer: (C) Predicate

Explanation: `Predicate<T>` is a functional interface that evaluates a condition and returns a boolean.

Explanation by: Mr. Dubey
`Predicate<T>` is a functional interface that evaluates a condition and returns a boolean.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
39
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
96%
Success Rate