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...

How is data security provided in Object Oriented languages?
?

Answer Posted / guest

In c++,
Data is encapsulated(hidden) in the form of specifiers such as:

private: accessible only to members of class.

public: accessible everywhere.

protected :accessible only to the members that are
inherited(see inheritance)

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is inheritance in simple words?

1021


What is data binding in oops?

1040


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4693


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

2157


What is oops and why we use oops?

1005


What is the diamond problem in inheritance?

1080


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

2112


What is coupling in oop?

979


Advantage and disadvantage of routing in telecom sector

1254


Can a varargs method be overloaded?

1047


Can we override main method?

1142


What does sksksk mean in text slang?

2068


Why it is called runtime polymorphism?

1066


Is enum a class?

1012


Can you explain polymorphism?

1060