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

Answers were Sorted based on User's Feedback



what is data hiding...

Answer / arvind

Data & Functions in C++ are private by default. That means there is no previlige outside the class. The functions or objects defined outside the class can't access the data and functions.So by making data and functions private with in the class, its making the data hiding and function hiding. By default data is private and functions are public. So this is the concept of data hiding

Is This Answer Correct ?    9 Yes 2 No

what is data hiding...

Answer / mahesh

to secure data from other classes.

Is This Answer Correct ?    7 Yes 1 No

what is data hiding...

Answer / mahesh

to secure data from other classes.

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More OOPS Interview Questions

How to overload postfix operator in c++

1 Answers   Mphasis,


what is the use of classes in c++;

2 Answers   HCL,


What is difference between polymorphism and inheritance?

0 Answers  


What is this interview room ? Is it a class or an object.

3 Answers   CybAge, NSN, Wipro,


How long to learn object oriented programming?

0 Answers  


What is the highest level of cohesion?

0 Answers  


What is difference between class and object with example?

1 Answers  


what is difference between objects and function

1 Answers  


oops concept is used for?

3 Answers   Synergy,


What is the output of the following code: int v() { int m=0; return m++; } int main() { cout<<v(); } 1) 1 2) 0 3) Code cannot compile

4 Answers  


How to Increment the value of the empid E001 for each and every employee by using the programe?

1 Answers   Accenture,


what is the technical or oop name of object?

1 Answers  


Categories