com.xu.base.Demo09
作者:互联网
package com.xu.base;
public class Demo09 {
//修饰符,不存在先后顺序 如:static、public
static final double PI=3.14;
public static void main(String[] args) {
System.out.println(PI);//3.14
}
}
\Desktop\JavaSE\out\production\基础语法" com.xu.base.Demo09
3.14
Process finished with exit code 0
标签:3.14,base,static,Demo09,com,public,xu 来源: https://www.cnblogs.com/xunzhao26/p/14802836.html