下面代码的执行结果是
import java.util.*;
public class ShortSet {
public static void main(String args[]) {
Set s=new HashSet();
for(Short i=0;i<100;i++) {
s.add(i);
s.remove(i-1);
}
System.out.println(s.size());
}
}1
100
Throws Exception.
None of the Above.