The difference is that the compiler does not generate multiple calls to the base class constructor, nor does it copy the instance variable initializers into each constructor body.

  • 不同之处在于编译器不生成对基类构造函数的多个调用,也不会将实例变量初始化器拷贝到每个构造函数体中。
目录 查词历史