摘要:
public class Tom{int leg;Tom(int n){this.cry();leg=n;this.cry();}void cry(){ System.out.println("我是Tom,我现在有"+leg+"条腿");}public static void main(String args[]){Tom cat=new Tom(4);}} 阅读全文
posted @ 2013-03-23 20:52
wangchunmei
阅读(159)
评论(0)
推荐(0)