Created
July 26, 2011 07:29
-
-
Save adaptives/1106195 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.diycomputerscience; | |
/** | |
* This is the customary 'Hello World' in Java. | |
* When we run a Java class, it's main method os invoked. This has to be | |
* a public static method which takes an array of String objects. | |
*/ | |
public class HelloWorld { | |
public static void main(String args[]) { | |
//The following line prints 'Hello World' to your console | |
System.out.println("Hello World"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment