摘要: ts语言特征:封装,继承,多态,抽象 1.class的定义 class Person { name: string; constructor(n: string) { this.name = n; } getName():string { return this.name; } setName(na 阅读全文
posted @ 2020-10-15 20:04 queenDream 阅读(2722) 评论(0) 推荐(0) 编辑