Answer B. Tested . t.getList().forEach(Test::printValues)
Multiple markers at this line
- The type Test does not define printValues(String) that is applicable here
- The method forEach(Consumer<? super String>) in the type Iterable<String> is not applicable for the arguments (Test1::printValues)
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.
DarGrin
1 week, 3 days agoDarGrin
1 week, 3 days agosteefaand
4 months, 1 week agor1muka5
1 year, 2 months agojduarte
3 years, 4 months agoayzo
3 years, 4 months agosansay61
3 years, 5 months ago