public class Demo001 {
// static 是类变量的关键
static int a =305;// 类变量式
static int b=450;
public static void main(String[] args) {
double c=4546.7;
System.out.println(a+c+(a*b));
System.out.println(b+c);
System.out.println(b-c);
}
来源:CSDN
作者:weixin_46277490
链接:https://blog.csdn.net/weixin_46277490/article/details/104516879