Using netbeans Application:
1) Open netbeans IDE and create Java Application
2)Just Type the Code and press F6 to run.
Using command promp window:
Just type the following
1. cd\
2. cd Program Files
3. cd java
5.Type the JDK version looks like this cd jdk1.6.0_22 (It depends on your JDK version)
6. cd bin
7. edit filename.java
You'd be directed to edit window.
How to run
1. Alt F-S
2. Alt F-X
3. javac filename.java
4. java filename
How to edit
1. edit filename.java
Walang komento:
Mag-post ng isang Komento