Created
March 17, 2015 06:35
-
-
Save nenono/fee2ee897837c99083a4 to your computer and use it in GitHub Desktop.
ScalaでHello World!
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
// objectキーワードはシングルトンオブジェクト | |
object Hello { | |
// メイン・エントリ・ポイント | |
def main(args: Array[String]) { | |
println("hello, world!") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment