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.
Hi Jason, you are absolutely correct, as I've tried in cmd and get the same error.
Hmm, why NetBeans is not giving such error ? Is it like NetBeans is not as reliable as Eclipse or am I missing something?
For the thing you said that it's not the class that I think it's, could not be. Because it's showing other parts of the program and so, I'm pretty sure it's as what it should be. In fact, I'm just doing as a practice myself for my
SCJP 6 exam which is on 14th next month, studying the Inner Class related question using "SCJP 6 Study Guide by Kathy Sierra & Bert Bates". This is my full code for the whole program.
anyway, thanks a lot to you guys
really appreciate your very fast and helpful response + advice