If I only knew what this life would bring me, I think I could get by without that much of a problem. I mean sure life will come and go and we won’t know the difference because of it. It will be here one second and gone the next, that’s how life tends to work. We don’t always know what’s going to happen. I wish I could understand something about this life though, anything really. That would be quite nice. But alas I fear that I will be unable to understand anything right away. Life will be what it will be and I will have to simply understand that and be apart of it. It won’t always come to me easily I’m afraid. That’s life in a nutshell.
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
Comments
Post a Comment