摘要:
package jihe; import java.util.ArrayList; public class test { public static void main(String[] args) { // TODO Auto-generated method stub ArrayList<St 阅读全文
摘要:
1 定义三个方法:getArea()求面积、getPer()求周长,showAll()分别在控制台输出长、宽、面积、周长。 package test1; public class Rectangle { int length; int width; public void getArea(){ Sy 阅读全文