The is the property by which one object acquiring the property of another object.
Here in dot net we can inherit the property of one class to another class.
Types of inheritance are:
Simple
Multiple
Multilevel
Hybrid
Hierarchal
Simple means deriving only one class from base class.
Multiple means deriving one class from more than one class.
Multilevel is more than one level of inheritance.
Hierarchal is deriving two or more class from one base class.
Hybrid means combination of all the above.
No comments:
Post a Comment