创建结点类,链表类,测试类 import java.lang.Object; //结点node=数据date+指针pointer public class Node { Object iprop; public Object getIprop(int i){ switch(i){ case 1:iprop=num;break; case 2:iprop=name;break; case 3:iprop=score;break; } return iprop; } //数据data Object…