Beginner Object-Oriented Programming Concepts
Q15 / 100

What access modifier typically makes a class member accessible only within its own class?

Correct! Well done.

Incorrect.

The correct answer is C) Private

C

Correct Answer

Private

Explanation

Private members can only be accessed from within the class that declares them, supporting encapsulation.

Progress
15/100