K
kris
Hi,
After compiling the .java file, the .class is passed to 'java'
and that runs the program.
Does the 'java' work this way: when we give "java classname", 'java'
strictly would search for classname.class and proceeds thereafter,
The reason i got this doubt is when i gave a command "java
classname.class" an error was raised pointing no class definition.
Thanks for your time.
Krishna.
After compiling the .java file, the .class is passed to 'java'
and that runs the program.
Does the 'java' work this way: when we give "java classname", 'java'
strictly would search for classname.class and proceeds thereafter,
The reason i got this doubt is when i gave a command "java
classname.class" an error was raised pointing no class definition.
Thanks for your time.
Krishna.