O'Reilly logo
  • Michael ss thinks this is interesting:

In the case of a local class, the fully qualified name of the class is appended after the square bracket. For an array of the Object class, the name is [Ljava.lang.Object, and for an array of the ArrayClassNameApp class, the name is [LArrayClassNameApp.


Cover of Java Programming


虽然java没说,但我们可以知道,基本类型(primitive types)数组的类名为基本类型的首字母,而本地类的名为类全称。