public class Constant {
public static void main(String[] args) {
System.out.println(HEIGTH_LENGTH);
}
public static float HEIGTH_LENGTH = 12.12f;
}
[jse] static final 定义类常量
最新推荐文章于 2019-01-19 10:07:51 发布
public class Constant {
public static void main(String[] args) {
System.out.println(HEIGTH_LENGTH);
}
public static float HEIGTH_LENGTH = 12.12f;
}