Computer Science, asked by nisha67, 1 year ago

by default, what is the access specifier of C, C++ and java

Answers

Answered by Renuka88470
1

Answer:

In C++, there are three access specifiers: public - members are accessible from outside the class. private - members cannot be accessed (or viewed) from outside the class. protected - members cannot be accessed from outside the class, however, they can be accessed in inherited classes.

Similar questions