具体怎么实现?还是引用一个什么包?
我计划这样实现,可不可以这样做?
class notype{
private DataType data;
private notype Next;
pulic void notype();
public void notype(DataType d,notype Nextnot);
public DataType getData(nottype N);
}//定义一个结点
class linklist{
private notype;
public int length;
public int linklist(notype na nb);}//定义一个表