打字猴:1.700464261e+09
1700464261 private int type=0;
1700464262
1700464263 //妇女的请示
1700464264
1700464265 private String request=””;
1700464266
1700464267 //构造函数传递过来请求
1700464268
1700464269 public Women(int_type,String_request){
1700464270
1700464271 this.type=_type;
1700464272
1700464273 //为了便于显示,在这里做了点处理
1700464274
1700464275 switch(this.type){
1700464276
1700464277 case 1:
1700464278
1700464279 this.request=“女儿的请求是:”+_request;
1700464280
1700464281 break;
1700464282
1700464283 case 2:
1700464284
1700464285 this.request=“妻子的请求是:”+_request;
1700464286
1700464287 break;
1700464288
1700464289 case 3:
1700464290
1700464291 this.request=“母亲的请求是:”+_request;
1700464292
1700464293 }
1700464294
1700464295 }
1700464296
1700464297 //获得自己的状况
1700464298
1700464299 public int getType(){
1700464300
1700464301 return this.type;
1700464302
1700464303 }
1700464304
1700464305 //获得妇女的请求
1700464306
1700464307 public String getRequest(){
1700464308
1700464309 return this.request;
1700464310
[ 上一页 ]  [ :1.700464261e+09 ]  [ 下一页 ]