Respuesta :

Option b is correct. A member of subtype is necessarily have to be a member of the supertype.

A parent type's attributes and capabilities are immediately carried through to its offspring. Additionally, the connection to inheritance is still present. Subtypes immediately inherit any changes made to these parent type's attributes or methods, and parent type changes likewise have an impact on subtypes.

Using object types in a type hierarchy, you may represent an entity, such as a customer, and describe various specific subtypes of customers under the original type. Each type is able to implement and carry out an operation in a different way once operations have been conducted on a hierarchy.

A subtype can be created from a supertype directly or indirectly, via higher levels of other subtypes. A supertype may have numerous sibling subtypes, whereas a subtype can only have one direct parent supertype (single inheritance).

To know more about subtype click on the link :

https://brainly.com/question/12698571

#SPJ4

ACCESS MORE
EDU ACCESS