Return required
When you declare a return type for a method, you should have a statement
returning the correct type.
public int foo(int bar)
{
fubar = bar+5;
}
public int foo(int bar)
{
fubar = bar+5;
return fubar;
}
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.