For example, if no class Foo exists, an error will be generated at compile time for the first version.
例如,如果没有一流的美孚存在,一个错误会在编译时产生的第一个版本。
Note that the public class, Foo, has no finalizer (other than the trivial one it inherits from Object), so it doesn't matter whether a subclass finalizer calls super. finalize or not.
注意公有类Foo没有终结方法(除非它从object继承一个无关紧要的),因此子类的终结方法是否调用super .finalize是不重要的。
Note that the public class, Foo, has no finalizer (other than the trivial one it inherits from Object), so it doesn't matter whether a subclass finalizer calls super. finalize or not.
注意公有类Foo没有终结方法(除非它从object继承一个无关紧要的),因此子类的终结方法是否调用super .finalize是不重要的。
应用推荐