What do you mean by public, private, protected and friendly?
Answer Posted / achal ubbott
public means access to the object of the class, created in
outside world.
private and protected are almost the same, except the
difference that protected members are inheritable and thus
can be used by derived class. These can be accessed only by
the public function members of the class.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Why oops is important?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
What language is oop?
What are properties in oop?
What is overriding vs overloading?
i got a backdoor offer in process global,Bangalore..Can i work with it?
What is overriding in oop?
2. Give the different notations for the class.\
What is multilevel inheritance explain with example?
What is solid in oops?
What is protected in oop?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is oops concept with example?
How to use CMutex, CSemaphore in VC++ MFC
What are the 4 pillars of oop?