• 2022-05-31
    Rectangle类中的成员变量有( )和( ) public class Rectangle{ int width; int height; public void setWidth(int x){ width = x; } public void setHeight(int y){ height = y; } public void show(){ System.out.println("宽:"+width",高:"+height); } }
  • 举一反三