53 Views

Maam what is the concept of inheritance in object oriented programming ?


rashi bajaj 2nd Oct, 2018
Answer (1)
Shruti Soni 2nd Oct, 2018

Inheritance in OOP (Object oriented programming ) is where more than one Class is involved. A parent class and one or more Sub or Child Classes. Parent class passes on its properties to the sub groups. 

For example. 

If Vehicle is a Parent class, Car, Bike etc are child classes. 

Related Questions

UEI Global, Hotel Management ...
Apply
Training & Placement Guarantee | Top Recruiters: The Oberoi, Taj, Lee Meridien, Hyatt and many more
VIT Bhopal University | M.Tec...
Apply
M.Tech admissions open @ VIT Bhopal University | Highest CTC 52 LPA | Apply now
Amity University | M.Tech Adm...
Apply
Ranked amongst top 3% universities globally (QS Rankings).
Amity University Noida MBA Ad...
Apply
Amongst top 3% universities globally (QS Rankings)
Graphic Era (Deemed to be Uni...
Apply
NAAC A+ Grade | Among top 100 universities of India (NIRF 2024) | 40 crore+ scholarships distributed
XAT- Xavier Aptitude Test 2026
Apply
75+ years of legacy | #1 Entrance Exam | Score accepted by 250+ BSchools | Apply now
View All Application Forms

Download the Careers360 App on your Android phone

Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile

150M+ Students
30,000+ Colleges
500+ Exams
1500+ E-books