aspose file tools*
The moose likes Beginning Java and the fly likes One error in code..not understanding what it tells me. Code works it is on line 55. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "One error in code..not understanding what it tells me. Code works it is on line 55." Watch "One error in code..not understanding what it tells me. Code works it is on line 55." New topic
Author

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

LeeAnne Murphy
Greenhorn

Joined: Aug 15, 2011
Posts: 18



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

[Edit: fixed code tags]
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3556
    
  15
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.


Joanne
LeeAnne Murphy
Greenhorn

Joined: Aug 15, 2011
Posts: 18

Ah got it...I removed the 2nd bracket.. and it cleared the error. Thank you.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38865
    
  23
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: One error in code..not understanding what it tells me. Code works it is on line 55.