Results 1 to 3 of 3
- 01-02-2010, 02:36 PM #1
Member
- Join Date
- Jan 2010
- Posts
- 1
- Rep Power
- 0
I need some help in writing a method
I need some help in writing a method called SelectRacers() which will run a loop until at least two RacingCars are selected or a message will displays stating not enough vehicles for a race. The instance variables are called racingCar1, racingCar2, racingCar3 and racingCar4. The method should display a dialogue box for each racingCar and if a racingCar is selected the value of its instance variable should be set to true.
Any help will be most appreciated!
Thanks
Loraine
-
You first.;) Why not give it an attempt and then post your code here and any errors you may be having? This way, we'll have a better idea of what you are currently doing that works, what isn't working, and what specifically you need help with.
Best of luck!Last edited by Fubarable; 01-02-2010 at 02:58 PM.
- 01-02-2010, 04:23 PM #3
Senior Member
- Join Date
- Oct 2009
- Location
- California,US
- Posts
- 201
- Rep Power
- 4
Similar Threads
-
Writing a recursive method :S
By Thousand in forum New To JavaReplies: 1Last Post: 12-06-2009, 03:13 PM -
ArrayLists compareTo method, equals method
By random0munky in forum New To JavaReplies: 2Last Post: 10-26-2009, 07:20 PM -
[SOLVED] Writing an Iterator method in a custom list
By xcallmejudasx in forum New To JavaReplies: 2Last Post: 02-12-2009, 05:22 AM -
question about writing a toString method
By heather.diggs in forum New To JavaReplies: 2Last Post: 11-12-2008, 11:13 PM -
Writing the filter method
By ai_2007 in forum Advanced JavaReplies: 1Last Post: 07-03-2007, 03:32 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks