1 2 3 4
摘要: //4.1定义类 class Person{ name:string; constructor(n:string){ this.name = n; } getName():string{ return this.name } setName(name:string):void{ this.name 阅读全文
posted @ 2020-05-15 14:15 红鲤鱼与LV 阅读(144) 评论(0) 推荐(0) 编辑