摘要: 类与对象 class Person{ var name = "" var age = 0 fun eat(){ println(name + "is eating,he is "+ age +"years old") } } fun main(){ val p = Person() p.name = 阅读全文
posted @ 2021-05-04 21:40 西北野狼 阅读(72) 评论(0) 推荐(0) 编辑