Advertisement



< Prev
Next >



C# Inheritance





One of the main features of an object-oriented language like C# is its feature of inheritance, using which we can create a class by inheriting the features of an existing class and also adding some unique features specific to the class being created.

The class that wants to inherit the feature of an existing class is called the derived class, whereas, the class whose features are to be inherited is referred to as the base class. Hence, the feature of inheritance gives C#, the power of reusability.




What features of a class are inherited through inheritance?


Please Subscribe

Please subscribe to our social media channels for daily updates.


Decodejava Facebook Page  DecodeJava Twitter Page Decodejava Google+ Page




Advertisement



Notifications



Please check our latest addition

C#, PYTHON and DJANGO


Advertisement