.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.
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
4 months agoASPushkin
6 months agoGalen86
10 months, 1 week agomendjijet
11 months, 2 weeks agod7bb0b2
1 year, 1 month agoOmnisumem
1 year, 4 months agotmuralimanohar
1 year, 6 months agoStavok
1 year, 7 months ago