日期:2014-05-20 浏览次数:20820 次
import java.util.*;
public class Test
{
public static void main(String [] args)
{
List<Object> staff = new LinkedList<Object>();
staff.add("abc");
staff.add("efg");
staff.add("opq");
Iterator it = staff.iterator();
Object first = it.next();
Object second = it.next();
}
}
class A<T>
{
private T name;
}
class Bag<T>{
public T getItem();
}