09_02_Polygon mdstudentnew:09_02_Polygon mdstudentnew由GitHub Classroom创建 源码
多边形实验室 多边形 在Polygon类中,添加一个整数边长的private ArrayList 。 将方法添加到: // put the given side in the list public void addSide(int theSide) // return the number of sides in the list public int getNumSides() // return the side at the given index public int getSide(int index) // add up all the sides and return the value public int getPerimeter() // return true only if all sides are the same length public boolea
下载地址
用户评论