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.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the concepts involved in Object Oriented programming.

1242


What do you mean by overloading?

1076


What are the 4 pillars of oop?

1148


What is overriding in oop?

1039


What is cohesion in oop?

1062


write string class as your own class in java without using any built-in function

2502


How do you define a class in oop?

1126


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

4151


What is an advantage of polymorphism?

1097


How do you achieve runtime polymorphism?

1049


What is the real life example of polymorphism?

1177


write a program to find 2 power of a 5digit number with out using big int and exponent ?

2383


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2540


What is abstraction oop?

1099


Which type does string inherit from?

1106