It is predicate, we can replace the annoymous local class with a Predicate implementation:
Predicate<String> checkLength = str -> str.length()>5 && str.length()<10;
boolean res = checkLength("Hello");
This section is not available anymore. Please use the main Exam Page.1z0-809 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Sigamani
Highly Voted 3 years, 7 months agoJME_CHG
Highly Voted 3 years, 10 months agoshivkumarx
Most Recent 9 months agoasdfjhfgjuaDCV
10 months agosteefaand
11 months agoMatthewTannous
2 years, 5 months ago