木兰目不能看作是一个祖先类群。
这是因为 B 不在系统类装入器或者它的双亲或祖先类装入器的类路径中。
This is because B is not in the classpath of the system class loader or its parent or ancestor class loaders.
具备子类型的子类不能覆盖其祖先类的行为,而只能扩展其祖先类提供的服务。
A subclass that implements a subtype does not override the behavior of its ancestor class; it only extends the services provided by that class.
应用推荐