JDK1.5中新的语言特征分类介绍 ... 4.枚举(Enums) 然后可以这样来使用Color myColor = Color.Red. 5.可变参数(Varargs) ...
基于24个网页-相关网页
然后可以这样来使用
Then it can be used like this
以上为机器翻译结果,长、整句建议使用 人工翻译 。
这样的话,如果可以给这个常量一个名字,然后在程序所有需要的地方通过名字来使用这个常量,将会非常方便。
It would be better if you could give this constant a name and then use it everywhere in the program. You could, of course, simply declare it as a local variable by writing.
youdao
应用推荐
模块上移
模块下移
不移动