Saturday, December 24, 2011

Hello World

Ah The first program that everyone tends to write when learning a new programming language is Hello World. So, what is Hello World? Hello World is a simple program that simplay outputs the words "Hello World".



In Java we would write this as follows:




public class HelloWorld {

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

}


It's that simple. If you haven't guessed yet, here's the output of the file:



Hello World

No comments:

Post a Comment

Racing Thoughts

 There are times where I cannot help the thoughts that come into my mind. They're racing and I feel like I don't have any control ov...