Beginner Object-Oriented Programming Concepts
Q28 / 100

What does it mean for a method to be "final" (or non-overridable)?

Correct! Well done.

Incorrect.

The correct answer is B) It cannot be overridden by a subclass

B

Correct Answer

It cannot be overridden by a subclass

Explanation

Marking a method final prevents subclasses from changing its behavior, useful when the implementation must not vary.

Progress
28/100