Pages

Custom Search

Saturday, August 21, 2010

Hello Word

When you start to write your own programe, you can start here, write your first code Hello word. Using Netbeans IDE you can go to blank page from Netbeans then write your code there. Example :

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

Java is case sensitive, you must carefull  when you write capital or small character. After you write your code then you can debug your programme, if there is no error the programme will appear "Hello word". Try to change Hello word with another word you like, or you try to chage the code and analise what will happen.

No comments:

Post a Comment