wood burning stoves 2.0*
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


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
Bartender

Joined: Oct 14, 2005
Posts: 18570
    
    8

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
 
GeeCON Prague 2014
 
subject: Bunch of errors have me scratching my head.