Advance thanks :)
Not Clearly understanding the problem can anyone explain it.?
Archived
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
Learner
9 October 2018, 07:17
1. In method calculateHorsesFinished(), you have to run a loop for each horse in the list and check whether each horse has finished or not (use isFinished() method for this).
- If the horse is finished, then increment the count finishedCount.
- If the horse is not finished, then:
- Display "Waiting for " + horse.getName().
- Wait for the horse to finish. (Think about what to write here to make the program wait.)
0
Azhar Iqbal
9 October 2018, 11:36
thanks Learner :)
0