Difference between revisions of "Hello World"

From Conservapedia
Jump to navigation Jump to search
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
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.
+
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:
 
In [[Java]] it is:
Line 9: Line 9:
 
     System.out.println("Hello World!");
 
     System.out.println("Hello World!");
 
   
 
   
   }
+
   }  
 
 
 
  }
 
  }
 +
 +
In [[JavaScript]] it is:
 +
 +
document.write('Hello World!');
 +
 +
[[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!');