日期:2014-05-20 浏览次数:20727 次
public class Test12{ String name = "Tom"; public Test12(String name){ name = name; } public static void main(String[] args) { Test12 t = new Test12("Jack"); System.out.println(t.name); } }