【多选题】
A System.out.println(set.toString());
B for (int i = 0; i < set.size(); i++)
{
System.out.println(set.get(i));
}
C for (Object obj : set)
{
System.out.println(obj);
}
D Iterator it = set.iterator();
while (it.hasNext())
{
System.out.println(it.next());
}
查看更多