twitter

Monday, October 24, 2011

Java Programming Chapter 1 (Hello World)

Ok now I will share to you how to make programm with Java Programming Language. In the first step you must now how to show the text, ok this is simple programm with Java, this program will show Hello World for the Out Put. Check this source code :


 public class Hello {
 public static void main(String[] args){
    System.out.print("Hello World");
 }
 }

that code will shown Hello World.
  1. public class Hello { 
    Hello is name class, name class and name file must same.
  2. Syntax Java is case sensitive, so java syntax must be writen right.
  3. Remember the symbols and block of program
  4. System.out.print("Hello World"); 
    This code will show the out put.
     
I think for this chapter is enough we will back in the next chapter...

No comments:

Post a Comment