指针指向对象的地址不变,但是地址里的内容可以变化
public class now {
public int a=2;
public int b=2;
public final int[] arr={1,2,3,4};
int[] ss=arr;
public final int c=3;
public static void main(String[] args) {
// TODO Auto-generated method stub
now n=new now();
System.out.println(n.a);
n.ss[2]=123;
for(int cs:n.arr){
System.out.println(cs);
};
}
}