How to Compile Java Program:
Steps:
Steps:
- First You have to check jdk is installed on your System or not (Open cmd promt and type javac)
- If Your System Show like above picture then jdk is available o your system
- save java program on desktop with .java
- open cmd promt and enter cd desktop as show below in pic
- then enter javac sample.java
- again for run enter java sample
Comments
Post a Comment
If you have any query, please let us know