> Hi JanTheKing,
>
> Sorry if i am being thick. But what do you mean, what does WhoWins look
> like?
First, please don't top post.
What does WhoWins look like? It looks like the contents of the
WhoWins.java file. Because WhoWins is not a standard API somewhere, it
would have been useful for us to see its contents.
Anyway, as someone else has pointed out. you need to run "java
ScoreBoard", as ScoreBoard is the java class that has a "public static
void main(String[])" method
>> >>> public static void main(String args[]){
>> >>> Scanner myScanner = new Scanner(System.in);
>> >>> int hankees, socks;
>> >>> WhoWins who;
...
>> >>> who = WhoWins.home;
...
>> >>> who = WhoWins.visitor;
...
>> >>> who = WhoWins.neither;
...
>> >>> But the compiler cannot find WhoWins enum type.
^^^^^^^ ^^^^ ^^^^
>> Sarah, as JanTheKing asked: What does your WhoWins class look like?
>
> Sorry if i am being thick. But what do you mean, what does WhoWins look
> like?
I think she's using an enum type called WhoWins, not a class. Still, could
we see the definition of it, please?

Signature
simon@jasmine.org.uk (Simon Brooke) http://www.jasmine.org.uk/~simon/
Error 1109: There is no message for this error
Daniel Pitts - 05 Nov 2006 23:23 GMT
> I think she's using an enum type called WhoWins, not a class. Still, could
> we see the definition of it, please?
Actually, in Java, an enum type is a class. But yes, we are all asking
for the definition of WhoWins.