Tag Archives: Inheritance

Understand Inheritance and Polymorphism with example

In this post, we will understand Inheritance and Polymorphism concept of OOP’S practically. In most of the interviews, interviewers ask these inheritance questions and try to confuse you but after reading this post you will easily understand and clear all your confusion. When you derive a class from a base class, the derived class will inherit… 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 »