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 / mahen dimri

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

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 ?    23 Yes 41 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain overriding.

1049


Eplain extern keyword?

1093


A mXn matrix is given and rows and column are sorted as shown below.Write a function that search a desired entered no in the matrix .with minimum complexity 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

3718


When should you use global variables?

1289


What is array give example?

1112


What is the function to call to turn an ascii string into a long?

1123


Can I make ios apps with c++?

1101


How one would use switch in a program?

1120


What is the difference between method overloading and method overriding in c++?

1212


What are smart pointers?

2389


Write about the access privileges in c++ and also mention about its default access level?

1130


Explain Memory Allocation in C/C++ ?

1117


Explain selection sorting. Also write an example.

1096


Explain how an exception handler is defined and invoked in a Program.

1232


Explain Text Manipulation Routines?

1139