摘要: 程序开始可以在某一个object中定义main方法object MyObject{def main(args:Array[String]{Println("Hello world")}}也可以通过对象扩展APP类,将代码放在构造器的方法中 (TheApptrait can be used to qu... 阅读全文
posted @ 2015-07-13 22:33 masic 阅读(157) 评论(0) 推荐(0) 编辑