1.写出下面的输出结果 public class test{ public static void main(String [] args) List<String> list = new ArrayList<String>(); for (int i = 0; i < 10; i++) { list.add(String.valueOf(i)); } for(String s : list){ if(s.equals("3")){ list.remove…
近期在修程序的bug,发现后台抛出下面异常: Exception in thread "main" java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793) at java.util.HashMap$KeyIterator.next(HashMap.java:828) at com.keyman.demo.test.ClearResult…