Skip to main content

The Concept of Inheritance

  • Chapter
  • First Online:
Interactive C#
  • 2227 Accesses

Abstract

Teacher starts the discussion: The main objective of inheritance is to promote reusability and eliminate redundancy (of code). The basic idea is that a child class can obtain the features/characteristics of its parent class. In programming terms, we say that a child class is derived from its parent class. Therefore, the parent class is placed at a higher level in the class hierarchy.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 24.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 34.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Vaskaran Sarcar

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Sarcar, V. (2018). The Concept of Inheritance. In: Interactive C#. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3339-9_3

Download citation

Publish with us

Policies and ethics