.filter(line -> !line.equalsIgnoreCase("JAVA")
equalsIgnoreCase("JAVA")
Two strings are considered equal ignoring case if they are of the same length and corresponding characters in the two strings are equal ignoring case.
so all lines ARE included.
C is the correct answer, because data that is not equal to "JAVA" is filtered line by line from the file, so there will be no JAVA in the final output.
This section is not available anymore. Please use the main Exam Page.1z0-819 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.
06d854e
9 months, 1 week agoASPushkin
11 months, 2 weeks agoGalen86
1 year, 3 months agomendjijet
1 year, 4 months agod7bb0b2
1 year, 6 months agoOmnisumem
1 year, 9 months agotmuralimanohar
1 year, 12 months agoStavok
2 years ago