Computer Science, asked by universewriter242, 16 days ago

what is hiehracl inheritance give example​

Answers

Answered by indialover44
1

Answer:

Explanation:

In hierarchical inheritance, all features that are common in child classes are included in the base class. For example, Physics, Chemistry, Biology are derived from Science class. Similarly, Dog, Cat, Horse are derived from Animal class.

Similar questions