October 2023
Beginner to intermediate
238 pages
4h 49m
English
Polymorphism is a fundamental concept in programming and is often associated with object-oriented programming (OOP). It allows objects of different classes to be used as objects of a common superclass or interface, providing a consistent interface to interact with these objects regardless of their specific types.
In this chapter, we’re going to cover the following main topics:
Polymorphism allows a programmer to specialize functionality based on a context; the programming language will use the proper version. There are two main types of polymorphism:
Read now
Unlock full access