java gurus help needed

Archived from the original Sajha.com — preserved as posted, replies can no longer be added here.
Start a New Discussion
Archived Post

Create a class named RaceHorse that extends Thread.  Each RaceHorse has a name and a run() method that displays the name 50 times.  Write an application that instantiates 5 RaceHorse objects each with different names, executing in their own Thread.  The last RaceHorse to finish is the loser.   class RaceHorse extends Thread { private String horseName; private static String loser = null; private int rep = 50; public RaceHorse(String horse) This is the farthest i have gone and i don't know how else to approach this ...trying to get help from some tutorials but to no availl..   Dorje

zeePa · May 31, 2009 6:45 AM · 5,148 views

Replies
No replies yet.

This conversation is preserved exactly as it was on the original Sajha.com and can't accept new replies.

Start a New Discussion

You might be interested in...

Recent Classifieds View all
Upcoming Events View all
Service Providers View all