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...


differentiate between private, public and protected data members of the class using example.



differentiate between private, public and protected data members of the class using example...

Answer / bhagyalakshmi

public is accessed through out the program
private is accessed with in the class only
protected is accessed like public only

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More STL Interview Questions

write a piece of c++ code which allocate memory to the 50 object of type CObj

2 Answers  


What is the name of your birth place?

0 Answers  


What is the disadvantage of templates ?

2 Answers   NSN, Symphony,


how to get the sum of two integers?

2 Answers  


i wanted to know about questions about c,c++ , which is required for placements.... im a fresher

0 Answers   NDS,


Explain stl.

0 Answers  


Explain when u will use Observer pattern and how u will implement in c++ .

1 Answers  


method overloading means what?

2 Answers   CTS,


why does the execution of a c++ program start with main()???

11 Answers  


What is stl in c++ with example?

0 Answers  


Who wrote stl?

0 Answers  


What do you mean by stl?

1 Answers  


Categories