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

Which keyword is written to use a variable declared in one class in the other class?

5 Answers   TCS,


What is the use of fflush(stdin) in c++?

4 Answers   HCL,


What are the main differences between procedure oriented languages and object oriented languages?

9 Answers   IBM, Infosys, Wipro,


Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer

0 Answers  


why to use template classes in c++?

1 Answers  


write a program to find the largest of two numbers without using for,while,switch,if else, conditional operator and do while using c++ pgmng language

3 Answers   Satyam,


Describe what an Interface is and how it?s different from a Class.

7 Answers   Spinsys,


What is the differances between a abstract calss and interface

5 Answers   Aviva, Symphony,


What does enum stand for?

0 Answers  


to find out the minimum of two integer number of two different classes using friend function

0 Answers  


can we make a class static without using static keyword?

5 Answers   Aspire,


What is the example of polymorphism?

0 Answers  


Categories