查看会员资料
用 户 名:Man****
发送消息- Email:用户隐藏
- Icq/MSN:
- 电话号码:
- Homepage:
- 会员简介:
最新会员发布资源
App1
- 编写Java应用程序,创建一个Rectangle类,提供属性了length,width,要求定义为private,int型,默认值都为均为1,该类提供以下方法: public boolean setLength(int length) //设置长度,确保不会有负值 public boolean setWidth(int width) //设置宽度,确保不会有负值 public int getLength()//得到长度 public int getWidth()//得到长度