Hello. I have solved this task but tried to complete it using lambda: cats.removeIf(cat -> cats.size() > 2); Unfortunately last condition was not met. Any idea why?
Why lambda does not work for this task?
You must be signed in to leave a comment
This page doesn't have any comments yet