The class is not visible to other classes in different packages, not to JVM, so why wouldn't it see it when you run it through command-line?
The answer is
g. None of the above
because it compiles and any of the 3 following command line invocations run fine:
java GRC4
java GRC5
java GRC6
P.S. Oh yeah, when you compile a java source file with n
N classes in it, you will get
N .class files and you can invoke them through command-line. In this example you'll get GRC4.class GRC5.class and GRC6.class (no matter what the .java filename is)
[ March 15, 2004: Message edited by: Yuriy Grechukhin ]