aspose file tools*
The moose likes Beginning Java and the fly likes Can someone explain what is wrong with my set methods? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

Can someone explain what is wrong with my set methods?

kenny gill
Ranch Hand

Joined: Mar 12, 2012
Posts: 54




here are the instructions:

These methods should return a boolean to indicate success or failure, depending on if the project or quiz number is out of the bounds of the array. The setProjectScore() and setQuizScore() methods will place the double value into the project or quiz number index of its respective array.
Stephan van Hulst
Bartender

Joined: Sep 20, 2010
Posts: 3649
    
  17

Let's continue here: http://www.coderanch.com/t/588614/java/java/Could-someone-explain-wrong-set
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Can someone explain what is wrong with my set methods?