public static void removeCats(Set<Object> pets, Set<Cat> cats) {
pets.removeAll(cats);
}
Can there issue with using removeAll()?
Under discussion
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
Serg
26 May 2019, 20:47
it works, i passed the validation with the same code, too.
0
Vatsal Patel
4 May 2019, 01:49
No I use removeAll and it worked. You should put your entire code here.
0