I don't know of an IDE that warns about accessing a static member of a class from an instance. In fact static members are able to be accessed by all instances, that is what they are for. Don't worry...
Type: Posts; User: jps
I don't know of an IDE that warns about accessing a static member of a class from an instance. In fact static members are able to be accessed by all instances, that is what they are for. Don't worry...
Use some printlns to verify the values of the variables and see if you can find any clues.
A couple things I noticed in the code post #37
Never create objects or make big calculations in the...
Please use Code tags, not quote tags, when posting code.
Square squareRed = new Square(); <--This is inside the square class. This makes it visible only within the square class. from public...