Skip to Content
DocumentationDevsecopsCodingConceptsObject Oriented Programming

Object Oriented Programming

Object Oriented Programming(OOP)

What’s polymorphism?

Polymorphism (computer science) 

  • Ad hoc polymorphism : defines a common interface for an arbitrary set of individually specified types.
  • Parametric polymorphism : not specifying concrete types and instead use abstract symbols that can substitute for any type.
  • Subtyping  (also called subtype polymorphism or inclusion polymorphism): when a name denotes instances of many different classes related by some common superclass.
Last updated on