What is the main purpose of inheritance in OOP?
PYQ Bihar STET 2025PYQ Bihar STET 2024PYQ Bihar STET 2023
What is the main purpose of inheritance in OOP?
- A.
To create instances of classes
- B.
To prevent data abstraction
- C.
To establish a parent-child relationship between classes
- D.
To define exceptions
Attempted by 1419 students.
Sign up free to check your answer
Sign up freeExplore the full course: Bihar Stet Computer Science Complete Course
Loading lesson…

