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

A Placebo?

 At times I wonder if my medication is just a placebo. That is a medication that usually has no effect on a disease. Am I dreaming it all up...