Love_To_Learn
2011-03-19 06:46:23 UTC
import java.util.*;
class Idiot
{
public static void main(String args[])
{
List list=new ArrayList();
list.add(0,new Integer(4));
}
}
and here is the warning that I get when I compile it.
Note: list.java uses unchecked or unsafe operation
Note: Recompile with -Xlint:unchecked for details.
How to prevent this warning without using Generics?