Bootstrap

用Java实现UML中的关系并调用函数验证结果

在这里插入图片描述

interface Shape {
   
    public double getArea();
    public double getPeri();
}

class Circle implements Shape{
   
    private double ra;
    private final static double PI = 3.14;
    public Circle(double ra) {
   
        this.ra = ra;
    }
    @Override
    public double
;