I am in c:\new\control folder and want to execute c:\hello.java
I am trying c:\new\control> javac c:\hello.java
Its creating class file but c:\new\control> java hello is giving me Error:could not find o load main class hello
In simple way i wan ask , i have class file in c:\ (say c:\hello.class)
I am in c:\user, how can i execute it???
hello.java?packagestatement at the top?hello.javacontains the class declaration forhello... is that the case?