String foo = new String("bar");
int bob = foo.length(5);
The method length for a String doesn't take any arguments, so when one is found, this generates the error
Check the declaration for the method to find the correct arguments to
pass.
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.