public class Rectangle {
double chang,kuan;
public double getArea(double chang,double kuan){
return chang*kuan;
}
public double getPerimeter(double chang,double kuan){
return (chang+kuan)*2;
}
public Rectangle(){
}
public Rectangle(double chang,double kuan){
if(0