GeeCON Prague 2014*
The moose likes IDEs, Version Control and other tools and the fly likes Syntax error on token(s), misplaced construct(s) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Syntax error on token(s), misplaced construct(s)" Watch "Syntax error on token(s), misplaced construct(s)" New topic
Author

Syntax error on token(s), misplaced construct(s)

Ali KiaKazemi
Greenhorn

Joined: May 18, 2012
Posts: 1
hi , can anyone find what s problem with this code ?
it says Syntax error on token(s), misplaced construct(s)


Sumit Patil
Ranch Hand

Joined: May 25, 2009
Posts: 296

Please QuoteYourSources

Also, ShowSomeEffort and use code tags (UseCodeTags)


Thanks & Regards, Sumeet
SCJP 1.4, SCWCD 5, LinkedIn Profile
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

Wow, you really confused the compiler by using commas instead if semicolons in your for statement (line 17).


JBoss In Action
 
GeeCON Prague 2014
 
subject: Syntax error on token(s), misplaced construct(s)