摘要: 介绍private和protected的区别: //类 class Person{ public name:string private age:number protected gender:boolean constructor (name:string,age:number){ //赋值 th 阅读全文
posted @ 2021-01-19 10:44 XG16 阅读(153) 评论(0) 推荐(0) 编辑