as604049322 发表于 2014-12-13 12:59 it.next();返回的是Object类,而Object类中没有getName()和getAge()方法,所以需要强转 (注意:任何类最终 ...