Polymorphism

Description

An entity behaving differently based on different inputs
Vamsi Kamal
Mind Map by Vamsi Kamal, updated more than 1 year ago
Vamsi Kamal
Created by Vamsi Kamal about 5 years ago
289
0

Resource summary

Polymorphism

Annotations:

  • An entity having different meaning in different context
  1. Compile Time

    Annotations:

    • Also known as static polymorphism
    1. Method Overloading

      Annotations:

      • Method overloading is a feature that allows the creation of several methods with the same name, provided they can be distinguished by their signature
      1. Operator Overloading

        Annotations:

        • Overloaded operator is used to perform operation on user-defined data type
      2. Run Time

        Annotations:

        • It is also known as dynamic polymorphism
        1. Method Overriding

          Annotations:

          •  Illows a subclass to provide a specific implementation of a method that is already provided by one of its superclasses
          1. Virtual keyword

            Annotations:

            • Virtual keyword for method in the parent class is a permission to override in the derived class
        Show full summary Hide full summary

        Similar

        Programming in C# Exam 70-483 Q&A
        Richard Brown
        Missed Questions on Inheritance/Polymorphism Test
        Nik Nguyen
        Abstract Classes & Interfaces & Polymorphism
        Nik Nguyen
        Polymorphism and Casting
        joannazhang13
        Polymorphism
        Nik Nguyen
        Concept Flashcards
        Nik Nguyen
        Programming in C# Exam 70-483 Q&A
        dino.in
        Programming in C# Certification 70-483 Q&A
        Khrystal Colon
        Literary Devices
        vanillalove
        APUSH End-of-Year Cram Exam: Set 1
        Nathaniel Rodriguez
        NSI Course
        Yuvraj Sunar