Question

In object-oriented programming, what is inheritance?

A The ability to hide the internal details of an object Correct Answer Incorrect Answer
B The process of creating a new class from an existing class Correct Answer Incorrect Answer
C The ability of an object to take on many forms Correct Answer Incorrect Answer
D The process of creating an instance of a class Correct Answer Incorrect Answer

Solution

The process of creating a new class from an existing class

Practice Next

Relevant for Exams:

×
×