This week's book giveaways are in the Scala and Android forums.
We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

One error in code..not understanding what it tells me. Code works it is on line 55.  RSS feed

 
Greenhorn
Posts: 18
Firefox Browser Netbeans IDE Windows Vista
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Wk4calcjp2 newloan = new Wk4calcjp2()); (error says ';' expected) what does that mean?

[Edit: fixed code tags]
 
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It means it's expecting a ; after the closing bracket of the method call, but the first character it finds is actually a second closing bracket.
 
LeeAnne Murphy
Greenhorn
Posts: 18
Firefox Browser Netbeans IDE Windows Vista
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ah got it...I removed the 2nd bracket.. and it cleared the error. Thank you.
 
Marshal
Posts: 59086
180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It takes a long time to get used to the compiler error messages. Google for mindprod java compiler error and you should find some helpful information.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!