wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes illegal start of expression Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "illegal start of expression" Watch "illegal start of expression" New topic
Author

illegal start of expression

Varuna Seneviratna
Ranch Hand

Joined: Jan 15, 2007
Posts: 167


"illegal start of expression" What causes this error.I can not figure out.I changed even the the combination of relational operators <== and >==
I want a integer returned between 1 and 6
Varuna


Varuna Seneviratna
Leroy J Brown
Ranch Hand

Joined: Dec 02, 2007
Posts: 71
For starters the syntax for your relational operators is wrong. Try using

and


Should patch you up quick.
Varuna Seneviratna
Ranch Hand

Joined: Jan 15, 2007
Posts: 167
Thanks Tristan!
I was stressed out I could even figure out that


Varuna
 
 
subject: illegal start of expression