Results 1 to 3 of 3
  1. #1
    loraineEd is offline Member
    Join Date
    Jan 2010
    Rep Power

    Question 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!



  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Blog Entries
    Rep Power


    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.

  3. #3
    [RaIdEn] is offline Senior Member
    Join Date
    Oct 2009
    Rep Power


    as the fubarable says..FORUM RULES first..SO go go go.make a code.
    Last edited by [RaIdEn]; 01-02-2010 at 04:23 PM. Reason: oops

Similar Threads

  1. Writing a recursive method :S
    By Thousand in forum New To Java
    Replies: 1
    Last Post: 12-06-2009, 03:13 PM
  2. ArrayLists compareTo method, equals method
    By random0munky in forum New To Java
    Replies: 2
    Last Post: 10-26-2009, 07:20 PM
  3. [SOLVED] Writing an Iterator method in a custom list
    By xcallmejudasx in forum New To Java
    Replies: 2
    Last Post: 02-12-2009, 05:22 AM
  4. question about writing a toString method
    By heather.diggs in forum New To Java
    Replies: 2
    Last Post: 11-12-2008, 11:13 PM
  5. Writing the filter method
    By ai_2007 in forum Advanced Java
    Replies: 1
    Last Post: 07-03-2007, 03:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts