Created
April 12, 2016 20:54
-
-
Save thigm85/2ed18fb89a753e69239d9faa5259b66a to your computer and use it in GitHub Desktop.
Hello world example for Scala. Reference: http://www.tutorialspoint.com/scala/scala_basic_syntax.htm
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
| object HelloWorld { | |
| /* This is my first java program. | |
| * This will print 'Hello World' as the output | |
| */ | |
| def main(args: Array[String]) { | |
| println("Hello, world!") // prints Hello World | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment