A Admin • 833.24K Points Coach Q. Which of the following lambda expressions is valid for a `Predicate<Integer>`? (A) x -> x > 10 (B) (x, y) -> x + y (C) () -> true (D) (x) -> x.length() Correct Answer - Option(A) Views: 26 Filed under category Java Hashtags: Java Lambda Expression Share Manage Tags
Discusssion
Login to discuss.