Difference between revisions of "Hello World"
Jump to navigation
Jump to search
(New page: 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 out...) |
|||
| (2 intermediate revisions by 2 users 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: |
class HelloWorld { | class HelloWorld { | ||
| 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!');