This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Bunch of errors have me scratching my head. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Bunch of errors have me scratching my head." Watch "Bunch of errors have me scratching my head." New topic
Author

Bunch of errors have me scratching my head.

John Beese
Greenhorn

Joined: Jun 16, 2011
Posts: 14





Firstly I've only been doing this for about 4 weeks, Its a homework assignment for an online course. If I didnt know anything about this stuff a month ago, i feel like i know even less now. So if this is some kind of simple mistake or problem i apologize. The assignment is to make a simple grade calculator which is proving to be not so simple.

Edit: I found a set of brackets i missed after reading my post, that took away some error messages but added others. ill have to look over it now. getting incompatible type and cant find symbol error on lines 137 138 144 and 145.
Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19693
    
  10

That message is saying that the code starting at line 138 has to be in a method (or a constructor). But it isn't. That's probably because you don't have your braces matched up correctly, either a missing brace or an extra brace somewhere.
John Beese
Greenhorn

Joined: Jun 16, 2011
Posts: 14
ThanFixed it
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Bunch of errors have me scratching my head.
 
It's not a secret anymore!