Q. Which interface is used to implement a lambda that takes two arguments and returns a boolean?

  • (A) BiConsumer
  • (B) BiFunction
  • (C) BiPredicate
  • (D) Predicate
πŸ’¬ Discuss
βœ… Correct Answer: (C) BiPredicate
Explanation: BiPredicate<T, U> takes two arguments and returns a boolean.
Explanation by: Mr. Dubey
BiPredicate<T, U> takes two arguments and returns a boolean.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
56
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
92%
Success Rate