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 is the difference between public, private, protected
inheritance?

Answer Posted / adit

# 3

for V.M public
class a class b
private =! private.
public = public.
protected = public.

for V.M private
class a claas b
private =! private.
public = private.
protected = private.

for V.M protected
class a class b
private =! private.
public = protected.
protected = protected.

(Where V.M= Virtuality Mode)

Is This Answer Correct ?    17 Yes 29 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the basics of local (auto) objects?

1077


What is the use of string in c++?

970


Explain how we implement exception handling in c++?

1005


What is the difference between C and CPP?

1093


Does c++ have finally?

958


What kind of problems can be solved by a namespace?

1009


can any one help to find a specific string between html tags which is changed to a sting.. weather.html looks (for location) is somewhere #include #include #include using namespace std; string find_field(string myPage,string); int main (void) { string page, line, location, temperature; ifstream inputFile("weather.xml"); while(getline(inputFile, line)) { page.append(line); line.erase(); } // Now page is a string that contains the whole xml page // Here you need to write something that finds and // extracts location and temperature from the XML // data in the string page and stores them in // the strings location and temperature respectively location=find_field(page,"location"); temperature=find_field(page,"temp_c"); cout << "Location: "<

2000


What is the syntax for a for loop?

1066


Why use of template is better than a base class?

1101


How many types of classes are there in c++?

982


How do I get good at c++ programming?

1081


What is atoi?

922


How the virtual functions maintain the call up?

1083


What is an undefined reference/unresolved external symbol error and how do I fix it?

1075


What are c++ tokens?

994