就像下面那样,在myeclipse里报警告,有什么坏处吗?
List list = new ArrayList();
收起
坏处就是你遍历list的时候,需要取出里面元素强转之后才能使用,,
报告相同问题?