- Category:
- Other systems
- Tags:
-
- File Size:
- 4kb
- Update:
- 2020-05-24
- Downloads:
- 2 Times
- Uploaded by:
- 呼噜hulu
Description: 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.
To Search:
File list (Check if you may need any files):
Filename | Size | Date |
---|
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 |