Problem with object oriented programming in Java?

You have not initialized the ADVISOR_SCORE and All_users arrays, but you do try to assign values and use them. When you declare.

You have not initialized the ADVISOR_SCORE and All_users arrays, but you do try to assign values and use them. When you declare double ADVISOR_SCORE; // this is null until assigned At some point, it needs to be assigned ADVISOR_SCORE = new doublesize.

This variable: double ADVISOR_SCORE; hasn't been initialized... and therefore it's null.

Jeff Storey provided the best explanation, here are two semi-related tips I had to learn when learning Java: 1) Once you initialize that array ADVISOR_SCORE = new doublesize; You cannot modify the array's length unless you re-initialize it. Students often will try to add another value onto the end of an array or otherwise "grow" it somehow. If this is something you need, checkout Vector and ArrayList.2) Java coding conventions are to capitalize class names... public class Rating { ...but leave the first letter of method names in lower case.

Public double getFirstScore() { It'll help readability when others start working on your code. Happy coding!

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions