Advertisement

Inheritance – Code Reuse

Chapter

Abstract

As one of the OOP principles, inheritance is designed to centralize the common functionality of many different objects. As a result of that, it reduces duplicated code in many classes.

Copyright information

© Ron Dai 2019

Authors and Affiliations

  • Ron Dai
    • 1
  1. 1.SeattleUSA

Personalised recommendations