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 are the differences between public, private, and
protected access?

Answer Posted / abhay

public-->inherite the protected members as preotected in
drived class and pubic members wiull be public in derived
class

protected--->pubic and protecated members of the base class
will become protected in derived class

Private-->pubilc and proteacted members will become private
in derived class

Is This Answer Correct ?    14 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is main a class in c++?

960


What is a down cast?

1035


Which operations are permitted on pointers?

943


Where do I find the current c or c++ standard documents?

1024


Specify different types of decision control statements?

793


How can you link a c program with a c function?

999


What is an inclusion guard?

1109


What are the uses of typedef in a program?

1025


Define linked lists with the help of an example.

979


How do you declare A pointer to a function which receives nothing and returns nothing

1171


What is the use of structure in c++?

965


What is math h in c++?

1093


Write a program using merge () function to combine the elements of array x[ ] and y[ ] into array z[ ].

1002


Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()

1464


What does new return if there is insufficient memory to make your new object?

975