Saturday, 24 March 2012

Netbean 7.0 for Beginner

This is an easy code HELLOWORLD using Java in Netbean for Beginner.

1. Open your Netbean (I prefer netbean 6.8 and above).
2. New project. Choose Java. and Java Application.


3. then put the project name HELLO. klik FINISH

4. Then go to the project name on the right side. and right-click. choose New Java Class.


5. enter Helloworld. then FINISH
 6. then type the code in the space given.then right-click and RUN.


public class helloworld {
    public static void main (String [] args){
       
        System.out.println ("helloworld");
    }
}



7. Then you will get an output like this below:




that's it. hope you will love programming. because it is fun, even sometimes it can be stressful but it is very interesting. 

good luck!