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, 9 months agoshivkumarx
Most Recent 8 months, 3 weeks agoasdfjhfgjuaDCV
9 months, 3 weeks agosteefaand
10 months, 3 weeks agoMatthewTannous
2 years, 5 months ago