(实际上,这是所有 public inheritance(公有继承)的动机的一部分:使针对 base class types(基类类型)写的代码也能对 derived class types(派生类类型)起作用。
基于4个网页-相关网页
The equivalence of public inheritance and isa sounds simple, but in practice, things aren't always so straightforward.
公有继承和“是一个”的等价关系听起来简单,但在实际应用中,可能不会总是那么直观。
However, he went on to explain that parents and the public in general should not take these results to mean that childhood leukemia develops because of "an accident of inheritance".
然而,他继续解释到父母和一半公众不应该根据这个结果而认为儿童白血病是由于“遗传事件”而发生的。
An improved role hierarchy model is introduced against the drawback of RBAC96; some new concepts such as public permission, private permission and scope of inheritance are presented in the model.
提出了一种改进的角色层次模型用于改善RBAC96,并提出一些新的概念,比如:公有权限、私有权限和继承范围。
应用推荐