Interviewer And Interviewee Guide

C++ Access Control Interview Question:

Do you know what is the default access level?

Submitted by: Administrator
The access privileges in C++ are private, public and protected. The default access level assigned to members of a class is private. Private members of a class are accessible only within the class and by friends of the class. Protected members are accessible by the class itself and its sub- classes. Public members of a class can be accessed by anyone.
Submitted by: Administrator

Read Online C++ Access Control Job Interview Questions And Answers
Copyright 2007-2025 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.