Public, Private, and Protected Inheritance
<br /> In public inheritance , the members of the base retain their access levels: The public members of the base are public members of the derived and the protected members of the base areprotected in the derived.In protected inheritance , the public an
复制链接