摘要:
DEMO: import scala.beans.BeanProperty object classOps { def main(args: Array[String]): Unit = { val person = new Person person.age = 18 person.name = 阅读全文
posted @ 2020-12-15 17:08
kpwong
阅读(290)
评论(0)
推荐(0)
摘要:
DEMO: object FunctionOps { def main(args: Array[String]): Unit = { val sum = add(Array(2,3,4)) println(sum) val sum2 = add(2,3,4,5) println(sum2) val 阅读全文
posted @ 2020-12-15 10:47
kpwong
阅读(224)
评论(0)
推荐(0)
浙公网安备 33010602011771号