Results 1 to 5 of 5
Thread: poker applicatation error
- 04-16-2012, 10:23 PM #1
Member
- Join Date
- Feb 2012
- Posts
- 13
- Rep Power
- 0
poker applicatation error
Im writing a code for a poker game and Im not understanding the error it gives me...if someone can help ? thanks
Card.java:103: error: not a statement
$ boolean result = false;
^
Card.java:103: error: ';' expected
$ boolean result = false;
^
2 errorsLast edited by stephanie904; 04-17-2012 at 12:10 AM.
- 04-16-2012, 10:45 PM #2
Senior Member
- Join Date
- Oct 2010
- Location
- Germany
- Posts
- 780
- Rep Power
- 4
Re: poker applicatation error
Whats about the dollar sign in line 103??
.gif)
$ boolean result = false;
->
boolean result = false;
- 04-16-2012, 10:53 PM #3
Member
- Join Date
- Feb 2012
- Posts
- 13
- Rep Power
- 0
Re: poker applicatation error
lol thanks haha i dont know when I pressed that...fat fingers duh!
is there anyway that I can group public final static int and cases together without writing them each one seperate ????
-
Re: poker applicatation error
I would use enums in place of your constants as well shown in this example.
- 04-17-2012, 05:59 AM #5
Similar Threads
-
dice poker
By saina in forum New To JavaReplies: 1Last Post: 04-04-2012, 10:01 AM -
Design logic problem - Poker App
By santeron in forum New To JavaReplies: 0Last Post: 05-24-2011, 10:31 AM -
Texas Hold'em Poker
By JohnPringle83 in forum Java GamingReplies: 0Last Post: 05-05-2011, 05:40 AM -
Please help Me out with this poker Problem
By ckrisasa in forum NetworkingReplies: 8Last Post: 12-03-2009, 01:59 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks