发布图片测试:
Java代码测试:
//计算机等级考试p6例1.2
//编辑者:鸿灬嗳
package test00;
class Circle{
static double PI=3.14159265;
int radius;
}
public class Demo {
public static void main(String[] args) {
Circle c=new Circle();
c.radius=10;
System.out.println(Circle.PI);
System.out.println(c.radius);
System.out.println(c.PI);
}
}