Zusammenfassung der Ressource
Polymorphism
Anmerkungen:
- An entity having different meaning in different context
- Compile Time
Anmerkungen:
- Also known as static polymorphism
- 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
- Operator Overloading
Anmerkungen:
- Overloaded operator is used to perform operation on user-defined data type
- Run Time
Anmerkungen:
- It is also known as dynamic polymorphism
- Method Overriding
Anmerkungen:
- Illows a subclass to provide a specific implementation of a method that is already provided by one of its superclasses
- Virtual keyword
Anmerkungen:
- Virtual keyword for method in the parent class is a permission to override in the derived class