Arm Interview Question

In C++, what are the key differences between each access specifier.

Interview Answer

Anonymous

Apr 30, 2025

Public - globally accessible Private - accessible within the same class Protected - accessible within the same and derived sub class