What are the differences between public, private, and
protected access?
Answer Posted / prashanth c patel
public-->inherite the protected members as preotected in
drived class and pubic members wiull be public in derived
class
protected--->pubic and protecated members of the base class
will become protected in derived class
Private-->pubilc and proteacted members will become private
in derived class
Is This Answer Correct ? | 21 Yes | 12 No |
Post New Answer View All Answers
What is the meaning of string in c++?
which operator is used for performing an exponential operation a) > b) ^ c) none
Is c++ a high level language?
Is it possible to get the source code back from binary file?
Explain what are accessor methods?
What does return 0 do in c++?
What is c++ mutable?
What is c++ virtual inheritance?
What are the two shift operators and what are their functions?
How can a called function determine the number of arguments that have been passed to it?
Where is atoi defined?
What is pair in c++?
What is this weird colon-member (" : ") syntax in the constructor?
What is math h in c++?
What is wrapper class in c++?