CVGalleryGamesPreviewRandomJavaSiteWeb
Site updates
Testing New System now...

Method <name> not found in class <class name>

The method you tried to access wasn't there.

int[] foo = new int[20];

int bar = foo.length(); Here, length shouldn't have the ()

The example above shows one possible cause - without the brackets, the code would work. This is because length isn't a method, but a ?property?. When there is supposed to be a method of that name, check caps/spelling.

NOTE: The Java section is mostly in maintenence mode. I don't have time to work on it right now. Errors will be corrected if pointed out, but they are not actively being searched for. Newer site features, like alternate stylesheets, may cause problems with these pages.