Open a terminal window in ubuntu or command prompt in windows, then type the commands below.
To compile the file
To run the file
Please refer how to save a java program.
To compile the file
javac FileName.java
To run the file
java FileName
Please refer how to save a java program.
No comments :
Post a Comment