Tag Archives: Inheritance

Understand Inheritance and Polymorphism with example

In this post, we will understand the Inheritance and Polymorphism concept of OOP’S practically. In most of the interviews, interviewers asked these inheritance questions and trying to confuse you but after reading this post you will easily understand and clear all confusion. When you derive a class from a base class, the derived class will inherit all… Read More »

Method Hiding

Method Hiding and Inheritance We will look at an example of how to hide a method in C#. The Parent class has a write () method which is available to the child class. In the child class I have created a new write () method. So, now if I create an instance of child class… Read More »