Question
Easy

A _______ feature supports reusability and extensibility of classes.

1
Overloading
2
Polymorphism
3
Inheritance
4
All options are wrong
Question Details
Time to Solve: 12
Exam: HTET
Level/Paper: Level 3
Chapter:
Topic:
Correct Answer
Option C
Explanation

The correct option is (3): Inheritance is the fundamental Object-Oriented Programming (OOP) concept explicitly designed to facilitate both reusability and extensibility in a codebase. When a new class, known as the derived or child class, is created by inheriting from an existing class, called the base or parent class, it automatically incorporates all the properties and behaviors of the base class. This direct inclusion of existing code into the new…Read More

A feature supports - HTET Level 3 | Clear Cutoff