Cognizant interview question

Access specifiers in CPP.