把变量定义在constructor里面又有什么区别? export class Hero { id: number; name: string; }. export class Hero { constructor(.
確定! 回上一頁