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 / khadeer.k

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.

Is This Answer Correct ?    20 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the fundamental idea of oop?

1141


hi all..i want to know oops concepts clearly can any1 explain??

2139


What is overriding vs overloading?

1064


What is polymorphism in oops with example?

1056


Why do we use class?

1090


Why is oop better than procedural?

1084


What is the advantage of oop over procedural language?

1090


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1861


What is oops and why we use oops?

1050


write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory

3229


Why do we use encapsulation in oops?

1042


Can a destructor be called directly?

1076


Why is oop useful?

1109


What is difference between inheritance and polymorphism?

1029


What is oops concept with example?

1026