class LinkedListDemo
{
public static void main(String[] args)
{
LinkedList link=new LinkedList();
link.addLast("java01");
link.addLast("java02");
link.addLast("java03");
link.addLast("java04");
sop(link.getLast());
}
public static void sop(Object obj)
{
System.out.println(obj);
}
}
编译居然报了个”找不到符号“的错误,我没看出哪错了,你看出来了吗?
|