Posted On: Feb 22, 2018
Polymorphism is the process when the same method is applied using different implementation techniques. Polymorphism is of two types:
Compile time polymorphism: when an operator is overloaded.
Runtime polymorphism: when an operator is overridden
For example – If a particular class has Void Add (), then polymorphism can be accomplished by the overload technique, then the Void Add() becomes Void Add(int a, int b) and Void Add(int add).
Never Miss an Articles from us.
C# is a programming language which is object-oriented developed by Microsoft...
A class is an example of properties and techniques that utilize and characterize a continuous substance...