*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 5812
    
    7

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


JBoss In Action
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Syntax error on token(s), misplaced construct(s)
 
Similar Threads
Homework Trouble: Not understood syntax error, Instance of a generic BST class
Error in using JWIG
Syntax error on token(s), misplaced construct(s)
Syntax error on token "void", @ expected
Linked List help