在这里,我们将嵌套类分为4种--嵌套顶级类(nested top-level classes),成员内部类..
基于44个网页-相关网页
nested top-level classes
嵌套的顶级类
以上为机器翻译结果,长、整句建议使用 人工翻译 。
Also note that class definitions must appear at the top level of a module, meaning they cannot be nested classes (classes defined inside other classes or functions).
另外要注意,类定义必须出现在模块的最顶层,这意味着它们不能是嵌套的类(在其它类或函数中定义的类)。
youdao
应用推荐
模块上移
模块下移
不移动