Polymorphism

Beschreibung

An entity behaving differently based on different inputs
Vamsi Kamal
Mindmap von Vamsi Kamal, aktualisiert more than 1 year ago
Vamsi Kamal
Erstellt von Vamsi Kamal vor mehr als 4 Jahre
289
0

Zusammenfassung der Ressource

Polymorphism

Anmerkungen:

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

    Anmerkungen:

    • Also known as static polymorphism
    1. Method Overloading

      Anmerkungen:

      • 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

        Anmerkungen:

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

        Anmerkungen:

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

          Anmerkungen:

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

            Anmerkungen:

            • Virtual keyword for method in the parent class is a permission to override in the derived class
        Zusammenfassung anzeigen Zusammenfassung ausblenden

        ähnlicher Inhalt

        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
        Der Stephansdom
        Karin Wanke
        Vetie - Innere Medizin 2012
        Fioras Hu
        Vetie Viro 2012
        Alena Gesing