Regardless of where the array is defined, if it holds elements of a class type, then the elements are initialized by the default constructor for that class if it has one.
英
美
- 不管数组在哪里定义,如果其元素为类类型,则自动调用该类的默认构造函数进行初始化;