STEPS to execute java program
Step 1: Type
cmd and press enter
Step 2: You
are in Users/Student… Create folder and enter in that folder using
cd folder_name
Step 3:
Write a java program in same folder and name it with .java extension
Step 4:
Compile the program using following command
javac filename.java
Step 5:
Execute the java program using following command
java filename
Comments
Post a Comment