Advanced Object-Oriented Programming Concepts
Q96 / 100

In a deep inheritance hierarchy, what is the "yo-yo problem"?

Correct! Well done.

Incorrect.

The correct answer is A) The need to repeatedly jump up and down the class hierarchy to understand which method implementation actually executes for a given call

A

Correct Answer

The need to repeatedly jump up and down the class hierarchy to understand which method implementation actually executes for a given call

Explanation

Deep hierarchies with many overridden methods can force developers to trace execution back and forth across many classes ("yo-yo") to follow a single method call's actual behavior.

Progress
96/100