Arm interview question

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

Interview Answer

Anonymous

30 Apr 2025

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