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 public, protected, private?

Answer Posted / yughandhar

public:
public is an access specifier which can be used throughout
the program.
protected:
protected is an access specifier which can be used in the
specified class and its derived class...
private:
private is an access speifier which can be used whithin the
class in which it is declared.

These three access specifiers are used for providing the
security

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is encapsulation in ict?

991


Whats oop mean?

988


Explain the concepts involved in Object Oriented programming.

1142


What is a null tree?

1077


What is this pointer in oop?

997


How long to learn object oriented programming?

1023


What is the advantage of oop over procedural language?

1006


What is the highest level of cohesion?

987


What is constructor overloading in oop?

1075


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

2040


2. Give the different notations for the class.\

2079


How to call a non virtual function in the derived class by using base class pointer

6419


What is object in oops?

1019


What is multilevel inheritance?

1150


What is polymorphism and example?

975