实例变量和局部变量的访问
时间:2014-01-14 21:24:11
收藏:0
阅读:559
1 public class Day05 2 { 3 int t = 2; 4 5 public static void main(String[] args) 6 { 7 int t = 1; 8 System.out.println(t); 9 System.out.println(new Day05().t); 10 } 11 12 }
原文:http://www.cnblogs.com/linson0116/p/3513149.html
评论(0)
