[hotjoe.com] HotJoe Java Help Forums
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Visit java.com
Please send email if you are having login problems - see the posts below for more info.
Hotmail and Yahoo! users - please see the Hotmail post or the Yahoo! post for information on lost emails.
Help me solve the error  XML
Forum Index » Java Programming
Author Message
GeeksUnite

Newbie

Joined: 01/29/2006 21:14:52
Messages: 55
Offline

this is my main class' code:


and this is the test class code:

i get the following error in my test class:
MarbleGametester.java:16: cannot find symbol
symbol : variable playerNumber
location: class MarbleGametester
MarbleGame spaceboy = new MarbleGame(choice, name, playerNumber);

1 error

Process completed.
thanks in advance

This message was edited 2 times. Last update was at 03/28/2006 20:33:13


I will slowly work my way up to world domination....I know it's going to take some time, but I have plenty of time on my hands.
GeeksUnite

Newbie

Joined: 01/29/2006 21:14:52
Messages: 55
Offline

Nevermind i solved it

I will slowly work my way up to world domination....I know it's going to take some time, but I have plenty of time on my hands.
tfecw

Newbie

Joined: 09/19/2005 15:02:20
Messages: 144
Location: No. VA.
Offline

When you get a few can you post how you solved it? I'm sure we've all searched google and have found a forum with the exact question we have, only to find the person never posted the solution to his question

thanks
aim icon
GeeksUnite

Newbie

Joined: 01/29/2006 21:14:52
Messages: 55
Offline

well as u can see here:

im missing the playerNumber from here:

so the solution was to create a system.out.print() then int playerNumber = scanner.nextInt();

This message was edited 1 time. Last update was at 03/29/2006 13:02:56


I will slowly work my way up to world domination....I know it's going to take some time, but I have plenty of time on my hands.
 
Forum Index » Java Programming
Go to:   
Powered by JForum 2.1.9 © JForum Team
This site run by Scott Dunbar of Xigole Systems. © 2005-2011 - Scott Dunbar
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners
hotjoe.com, xigole.com, and Scott Dunbar have no affiliation with Oracle