继承包含关系

is a
has a

原文地址:https://www.cnblogs.com/ukzq/p/14815779.html