Object-Oriented Design Inheritance and Class Examples Inheritance Example -- Class.zip One reason to use inheritance is that it permits you to reuse code from a previous…