this关键字

1 class A{ 2 int i; 3 4 public A(int i){ 5 this.i = i;//代表当前已经创建的对象 6 } 7 8 public void show(A * this){//this代表当前正在调用show方法的对象 9
相关文章
相关标签/搜索