Jason Irwin wrote:Just tried with Eclipse Ganymede using Java 1.6.0_14 on Ubuntu and it does not compile.
I get the exact same error as Mike.
Have you tried compiling from the command line/terminal? Perhaps NetBeans is suppressing a warning and you are not running the class you think you are running.
Sebastian Janisch wrote:Local variables cannot be abstract. The only modifier allowed for local variables is final
As a matter of fact, the abstract abstract modifier is used for classes or methods respectively, not for variables.