To run the java program first write the code in notepad and save it with the extension .java
and then open command prompt and compile the program (eg : javac Simple.java) After the compilation, to run the java code we need to call the Java interpreter ,to call the java interpreter we use java command and u need to [ass the filename you know which contains the byte code(eg:- java Simple)
No comments:
Post a Comment