Use this space to put some text. Update this text in HTML

468x60 banner ad

Advertise with Us

Powered by Blogger.

Friday 4 March 2016

inheritance in C-Sharp


Inheritance
There are four type of inheritance.
1.      Single inheritance
2.      Multi-level/ harirachal inheritance
3.      Multiple inheritance
4.      Hybrid inheritance
Single inheritance
Single inheritance is an entity through which drive class access all the functionality of base class. And derived class has also an extra functionality.

Multi-level/harirachal inheritance
Multilevel inheritance is an entity through which derived class access all the functionality of base class. And derived class has also an extra functionality. And that derived class is accessed with another derived class and so on.

Multiple inheritance
There are two or more base class. A derived can class access the functionality of two more base class and derived class has also an extra functionality.

Hybrid inheritance
 It is multiple inheritance with any one or mixed that is hybrid.



No comments :

Post a Comment

Ask a Question?