Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Ali KiaKazemi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi , can anyone find what s problem with this code ?
it says Syntax error on token(s), misplaced construct(s)


 
Sumit Patil
Ranch Hand
Posts: 296
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please QuoteYourSources

Also, ShowSomeEffort and use code tags (UseCodeTags)
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wow, you really confused the compiler by using commas instead if semicolons in your for statement (line 17).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic