摘要:
View Code 1 class Link{ 2 class Node{//内部类 3 private String data; 4 private Node next; 5 public Node(String data){//构造方法 6 this.data=data; 7 } 8 public void add(Node newNode){ 9 if(this.data==null){10 this.next=newN... 阅读全文
posted @ 2012-03-04 21:23
谈笑风生膜法师
阅读(191)
评论(0)
推荐(0)
摘要:
View Code 1 class Address{ 2 private String Country; 3 private String Province; 4 private String City; 5 private String Street; 6 private int Postcode; 7 public Address(String Co,String P,String C,String S,int Po){ 8 this.Country=Co; 9 this.Province=P;10 ... 阅读全文
posted @ 2012-03-04 16:05
谈笑风生膜法师
阅读(184)
评论(0)
推荐(0)
摘要:
1 class Node{//Node类 2 private String data; 3 private Node next; 4 public Node(String data){ 5 this.data=data; 6 } 7 public String getData(){ 8 return this.data; 9 }10 public void set... 阅读全文
posted @ 2012-03-04 14:37
谈笑风生膜法师
阅读(397)
评论(0)
推荐(0)

浙公网安备 33010602011771号