This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Code meets the question requirements? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic

Code meets the question requirements?

Jack Burned

Joined: Oct 19, 2012
Posts: 3
I have this question

This is the code that I have for that, findGrade() method still doing but so far is it ok?

Campbell Ritchie

Joined: Oct 13, 2005
Posts: 36453
I don’t think we can make any direct suggestions about your findGrade method, but I strongly recommend you try it with a grade of 39 before you let it loose on an unsuspecting world examiner.
You have been given a specific signature for that method; why have you not used it?
Please have a look at our suggestions about formatting, because your formatting is inconsistent and may lose you marks.
Never use the \n character in String literals unless you specifically require it. Look here for what to use instead.

I think because it is assessed work, I am going to lock this thread to prevent anybody posting a full answer.
I agree. Here's the link:
subject: Code meets the question requirements?
Similar Threads
Inner Class: An example
Creating a bean in session scope
How can I add elements in Hashmap?
Compile error
Array returning last value entered