Jump to:

Our volunteers haven't translated this article into ไทย yet. Join us and help get the job done!
You can also read the article in English (US).

Inheritance is a major feature of object-oriented programming.  Data abstraction can be carried up several levels, that is, classes can have superclasses and subclasses.

As an app developer, you can choose which of the superclass's attributes and methods to keep and add your own, making class definition very flexible. Some languages let a class inherit from more than one parent (multiple inheritance).

Learn more

Learn about it


Document Tags and Contributors

ผู้มีส่วนร่วมกับหน้านี้: mdnwebdocs-bot, mike0, Andrew_Pfeiffer, hbloomer, klez, sushant1221
อัปเดตล่าสุดโดย: mdnwebdocs-bot,