The size of a set

Report a typo

How many items are there in the set?

Set<Integer> set = new TreeSet<>();
set.add(100);
set.add(200);
set.add(100);
set.add(100);
Select one option from the list
___

Create a free account to access the full topic