Nem*_*emo 3 java variables static final const
java中的final,const和static变量有什么区别,请使用代码示例
Ats*_*sby 10
class X { static int s; // can be accessed as X.s without object final int f = 7; // can't be assigned a different value const int c; // doesn't compile }
归档时间:
10 年,6 月 前
查看次数:
5370 次
最近记录: