By default, when you create a subclass, its constructor merely calls the constructor of its parent class.
默认情况下,当您创建一个子类时,它的构造函数只调用其父类的构造函数。
Just like static detection of bad generic constructor calls, forbidding polymorphic recursion conflicts with incremental class compilation.
就象静态检测糟糕的泛型构造函数调用一样,禁止多态递归会与递增式类编译发生冲突。
Autoboxing: Rather than generating calls to the valueOf method in the wrapper class, the compiler generates calls to the constructor instead.
自动装箱:编译器不生成对包装器类的value Of方法的调用,而是生成对构造函数的调用。
If you do not define a constructor for your dynamic type, a default constructor is provided automatically, and it calls the default constructor of the base class.
如果您没有为动态型别定义建构函式,便会自动提供一个预设的建构函式,而且它会呼叫基底类别的预设建构函式。
If you do not define a constructor for your dynamic type, a default constructor is provided automatically, and it calls the default constructor of the base class.
如果您没有为动态型别定义建构函式,便会自动提供一个预设的建构函式,而且它会呼叫基底类别的预设建构函式。
应用推荐