Collection coll = new ArrayList();coll.add(123);coll.add("Tom");//本身就是字符串,直接加。coll.add(false);
报错是报什么错呢?