摘要: 1、OOP对象属性与方法object helloworld { def main(args: Array[String]) { //定义一个对象,对象里面有私有属性和方法 class Person { //Sc... 阅读全文
posted @ 2017-11-20 15:53 crr121 阅读(93) 评论(0) 推荐(0) 编辑