About this document
Understanding Polymorphism in OOP by bilind_mustafa is a document available to read on EtoBox.
This document contains a lecture on polymorphism in object-oriented programming. It defines polymorphism as one name with multiple forms. There are two types of polymorphism: static (compile-time) and dynamic (run-time). Static polymorphism is demonstrated through method overloading. Dynamic polymorphism uses the override keyword with abstract or virtual methods. The document provides an example using classes Person, Engineer, and Lawyer to demonstrate polymorphism.
- Author
- bilind_mustafa
- Language
- EN