Skip to main content

Understanding Inheritance and Polymorphism

  • Chapter
C# 6.0 and the .NET 4.6 Framework
  • 5375 Accesses

Abstract

Chapter 5 examined the first pillar of OOP: encapsulation. At that time, you learned how to build a single well-defined class type with constructors and various members (fields, properties, methods, constants, and read-only fields). This chapter will focus on the remaining two pillars of OOP: inheritance and polymorphism.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

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

© 2015 Andrew Troelsen and Philip Japikse

About this chapter

Cite this chapter

Troelsen, A., Japikse, P. (2015). Understanding Inheritance and Polymorphism. In: C# 6.0 and the .NET 4.6 Framework. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1332-2_6

Download citation

Publish with us

Policies and ethics