- Category:
- Applet
- Tags:
-
[Java]
[源码]
- File Size:
- 14kb
- Update:
- 2016-11-11
- Downloads:
- 0 Times
- Uploaded by:
- 王说
Description: Design called StopWatch class that includes: private data fields startTime and endTime have accessor methods a constructor with no arguments, the current time to initialize startTime a method named start (), reset the startTime current time a stop () method called the endTime set to the current time a method called getElapsedTime () to return a stopwatch milliseconds elapsed time. Draw UML class diagram and implement this class. And write a test procedure for measuring the use of selection sort 100 0000 numbers ordered the execution time.
To Search:
File list (Check if you may need any files):
StopWatch\Demo1.java
.........\StopWatch.java
StopWatch
.........\UML.png