Q:

Why use access modifiers in C++?

0

Why use access modifiers in C++?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Answer:

Access modifiers are an integral part of object-oriented programming. They are used to implement the encapsulation of OOP. The access modifiers allow you to define who does or who doesn’t have access to certain features.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

C++ Interview Questions and Answers(2022)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What are C++ access modifiers?... >>
<< What is an object in c++?...