摘要: public class 类名{ private double 财产 = 0;//设一个财产的属性; public void 一个月工资(){ this.财产 +=4500; }//设一个方法增加财产; public double 显示财产(){ return this.财产; }//设一个方法,返 阅读全文
posted @ 2019-04-09 20:51 年前 阅读(211) 评论(0) 推荐(0)