2010-12-08 初めてのscalaプログラミング class デスマーチ { def 助けて(): Unit = { println("帰れない\n") } } val アルバイト時代 = new デスマーチ アルバイト時代.助けて() 動いた!