1 public class Node {2 3 String date;4 Node next;5 6 public Node(String date) {7 this.date=date;8 }9 }这是定义Node类,下面定义NodeTest来实现: 1 public class NodeTest { 2 3 /** 4 * LinkedList 链表练习 5 */ 6 public static void main(String[] args) { 7 // TODO Aut... Read More
posted @ 2012-09-15 00:01 小梁的程序世界 Views(145) Comments(0) Diggs(0) Edit