A nested class cannot have the same simple name as any of its enclosing classes (note: there is no similar restriction on method or variable names).

  • 嵌套类不能使用与它的任何外部类的名字相同的名字来命名(注意:方法和变量并没有这个限制)
目录 查词历史