- Category:
- Java Develop
- Tags:
-
- File Size:
- 1kb
- Update:
- 2018-01-02
- Downloads:
- 0 Times
- Uploaded by:
- 李波波
Description: On the basis of Experiment 1,
An exception class ScoreException is defined, and the exception is thrown when the input student's score is not in the [0100] interval.
An exception class StudentNumberException is defined, and the exception is thrown when the input school number does not satisfy the following condition. Conditions are: 10, first, 2, second, 0, and the rest number 0~9.
The necessary modifications are made to the Student and StudentTest classes to improve the robustness of the program.
To Search:
File list (Check if you may need any files):
Filename | Size | Date |
---|
homework2\_15211574_闫瑞波_2_Student.java | 1498 | 2017-11-28
|
homework2\_15211574_闫瑞波_2_StudentTest.java | 2178 | 2017-11-28
|
homework2 | 0 | 2017-11-28 |