Difference between revisions of "Hello World"

From Conservapedia
Jump to navigation Jump to search
m (cat)
 
Line 9: Line 9:
 
     System.out.println("Hello World!");
 
     System.out.println("Hello World!");
 
   
 
   
   }
+
   }  
 
 
 
  }
 
  }
 +
 +
In [[JavaScript]] it is:
 +
 +
document.write('Hello World!');
 +
 
[[Category:Computers]]
 
[[Category:Computers]]

Latest revision as of 13:27, February 8, 2010

A Hello World application gives a computer programmer confidence that his development system is working properly. It is typically a very small program which produces recognizable output.

In Java it is:

class HelloWorld {

  public static void main (String args[]) {

    System.out.println("Hello World!");

  }   
}

In JavaScript it is:

document.write('Hello World!');