Programming Concept

Anurag PatelAnurag Patel
1 min read

Inheritance is the process in which two class have an is a relationship among each other and object of class acquire properties and feature of the other class.the class which inherits the features is known as the child class and the class whose feature it inherited is called the parent class.

For example class vehicle is the parent class and class bus,car,bike etc are child class.

0
Subscribe to my newsletter

Read articles from Anurag Patel directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Anurag Patel
Anurag Patel