Beginner Object-Oriented Programming Concepts
Q4 / 100

What is "inheritance" in OOP?

Correct! Well done.

Incorrect.

The correct answer is A) A mechanism where a new class derives properties and behaviors from an existing class

A

Correct Answer

A mechanism where a new class derives properties and behaviors from an existing class

Explanation

Inheritance lets a subclass reuse and extend fields and methods from a parent (base) class, promoting code reuse.

Progress
4/100