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

Ever feel like no one is listening?

 Ever have that feeling that no one is listening to you? Yeah, that feeling. It can be a strong feeling to have, a hurtful feeling also. The...