Md Sarfaraj
Give an real life example of polymorphism ?

Give an real life example of polymorphism that explain polymorphism in a better way.

By Md Sarfaraj in Algorithms in C# on Aug 18 2021
  • Mohd Faisal
    Sep, 2021 2

    A person at the same time can have different characteristic. Like a man at the same time is a father, a husband, an employee. So the same person posses different behavior in different. This is the real life example of polymorphism.

    • 2
  • Antony Quinn J
    Oct, 2021 24

    Polymorphism meaning is ‘MANY’-formation.
    Polymorphism is Two types, That is

    1. Static Polymorphism
    2. Dynamic or RunTime Polymorphism.

    The main objective of the Polymorphism is
    Using existing objects, we should produce the different output or different Results. (Note: we can use or add new objects).

    In Real Life the Polymorphism Example
    is : Kitchen in our home. By using Kitchen we can produce the different foods(Like Tea, Coffee, Jucice, Breakfast, etc…) By reusing the kitchen setup we give or produce different results.
    Thanks for Reading!.— By Anto

    • 1
  • RomanJay Almaza
    Sep, 2021 23

    The word polymorphism means having many forms. … Real life example of polymorphism: A person at the same time can have different characteristic. Like a man at the same time is a father, a husband, an employee. So the same person posses different behavior in different situations.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS