View Tutorial Content

Inheritance and polymorphism in object-oriented programming

Tutorial
Foundational
+10 XP
20 Mins
(342)
Overview
Live
Groups
Summary
In this tutorial, you’ll learn about inheritance and polymorphism, two closely related pillars of OOP.
  • Explain how inheritance is used to share functionality between a parent and child class
  • Define the relationship between a parent and child class, including what a child class can and cannot do with respect to its parent class.
  • Recognize opportunities where inheritance could be used to simplify code.
  • Describe how polymorphism is used to modify parent class functionality in a child class
  • Describe how polymorphism can be applied at compile time (method overloads) and run time (method overrides).
  • Recommend a high-level system architecture for a given project
Select your Unity version
Last updated: June 09, 2021
2020.3
Language
English
Inheritance and polymorphism in object-oriented programming