Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我有一个类 Instructor 并且我希望类人成为它的子类型,我不确定如何进行子类型化,我该怎么做?我试过 class Instructor {} extends Person 而且我每次都收到错误