Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Why oops is important?

1130


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

3233


What language is oop?

1018


What are properties in oop?

1094


What is overriding vs overloading?

1069


i got a backdoor offer in process global,Bangalore..Can i work with it?

2845


What is overriding in oop?

1046


2. Give the different notations for the class.\

2166


What is multilevel inheritance explain with example?

1155


What is solid in oops?

1135


What is protected in oop?

1087


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

2199


What is oops concept with example?

1037


How to use CMutex, CSemaphore in VC++ MFC

4786


What are the 4 pillars of oop?

1151