文件名称:JAVA6
介绍说明--下载内容均来自于网络,请自行研究使用
编写一个商品类Goods,里面有单价price和数量number两个私有数据成员,并用构造方法实现数据成员初始化,用cost()计算花费的总价;2)在主函数中通过调用cost()计算马云云所花费的钱。(1) write a commodity class goods, which has two private data members: unit price and quantity number, and use the construction method to initialize the data members, and use cost () to calculate the total cost; 2) in the main function, call cost () to calculate the cost of Ma yunyun.)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
JAVA6 | 0 | 2019-10-09 |
JAVA6\.classpath | 301 | 2019-10-09 |
JAVA6\.project | 381 | 2019-10-09 |
JAVA6\.settings | 0 | 2019-10-09 |
JAVA6\.settings\org.eclipse.jdt.core.prefs | 598 | 2019-10-09 |
JAVA6\bin | 0 | 2019-10-09 |
JAVA6\bin\exam.class | 1850 | 2019-11-04 |
JAVA6\bin\people.class | 1768 | 2019-11-04 |
JAVA6\src | 0 | 2019-10-09 |
JAVA6\src\exam.java | 1695 | 2019-10-09 |