Created
November 8, 2014 02:20
-
-
Save bmcculley/f3c0795c4d37a67e0009 to your computer and use it in GitHub Desktop.
This file contains 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
/************************************************************************* | |
* Compilation: javac HelloWorld.java | |
* Execution: java HelloWorld | |
* | |
* Prints "Hello, World". By tradition, this is everyone's first program. | |
* | |
* % java HelloWorld | |
* Hello, World | |
* | |
* These 17 lines of text are comments. They are not part of the program; | |
* they serve to remind us about its properties. The first two lines tell | |
* us what to type to compile and test the program. The next line describes | |
* the purpose of the program. The next few lines give a sample execution | |
* of the program and the resulting output. We will always include such | |
* lines in our programs and encourage you to do the same. | |
* | |
*************************************************************************/ | |
public class HelloWorld { | |
public static void main(String[] args) { | |
System.out.println("Hello, World"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment