摘要: class ApplyTest{ //一定要写(),不加括号就报错。 def apply() = println("Into Spark!") def havaAtry(){ println("have a try!") }} object ApplyTest{ //一定要写(),不加括号就报错。 阅读全文
posted @ 2016-07-20 22:58 Jiang_Xi 阅读(141) 评论(0) 推荐(0)