M

Mr. Dubey • 100.28K Points
Coach

Q. Which method is provided by the Predicate functional interface?

  • (A) apply()
  • (B) get()
  • (C) test()
  • (D) accept()
  • Correct Answer - Option(C)
  • Views: 5
  • Filed under category JAVA

Explanation by: Mr. Dubey
The `test()` method is used in `Predicate` to evaluate a condition.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics