Skip to content

Instantly share code, notes, and snippets.

@nenono nenono/Hello.scala

Created Mar 17, 2015
Embed
What would you like to do?
ScalaでHello World!
// 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
You can’t perform that action at this time.