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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is stl language?

1097


Name the different types of stl containers.

1127


Who created stl?

1112


how to use C++?

2493


Who wrote stl?

1087


What are stl algorithms?

1124


When did c++ add stl?

1181


What two types of containers does the stl provide?

952


Is string part of stl?

1159


How stl is different from the c++ standard library?

1157


Is stl open source?

1095


Do you like to Submit Questions in Bulk under Same Category?? Then use our Bulk ListerDo you like to Submit Questions in Bulk under Same Category?? Then use our Bulk Lister

2055


What are the components of stl?

1060


What is stl in oop?

1169


draw a flowchart that accepts two numbers and checks if the first is divisible by the second.

3333