Beginner TypeScript
Q29 / 100

Which access modifier makes a class member accessible only within the class itself?

Correct! Well done.

Incorrect.

The correct answer is C) private

C

Correct Answer

private

Explanation

private restricts access to the declaring class only; it is not accessible from subclasses or outside code.

Progress
29/100