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 / saikat

A private member can only be accessed by other methods of
the same class, while a public member can be accessed by
methods of any class or by non class code.

Is This Answer Correct ?    9 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c++ high level programming language?

1134


Write a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).

1109


Which should be more useful: the protected and public virtuals?

1035


How is c++ different from java?

1038


A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a saleperson who sells $5000 worth of merchandise in a week receives $200 plus 9 percent of $5000, or a total of $650. You have been supplied with a list of items sold by each salesperson. The values of these items are as follows: Item Value A 239.99 B 129.75 C 99.95 D 350.89 Write a program that inputs one salesperson's items sold in a week (how many of item A? of item B? etc.) and calculates and displays that salesperson's earnings for that week.

3892


Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?

1077


Can you sort a set c++?

989


Is it possible to get the source code back from binary file?

1356


What is the main use of c++?

1124


What is the difference between global int and static int declaration?

1059


Is string an object in c++?

1151


What does return 0 do in c++?

1036


Can we use clrscr in c++?

1079


What are features of c++?

1173


Can a new be used in place of old mallocq? If yes, why?

1096