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

How long to learn object oriented programming?

1035


What is the point of polymorphism?

1005


What is debug class?what is trace class? What differences are between them? With examples.

2139


What is polymorphism what are the different types of polymorphism?

956


Why multiple inheritance is not allowed?

1094


What is pure oop?

1054


Is react oop?

1016


Why do we need polymorphism in c#?

1110


What are oops functions?

970


Can we override main method?

1138


What is the main feature of oop?

1110


How do you define social class?

1019


What is the advantage of oop over procedural language?

1018


What is class and example?

1109


Explain virtual inheritance?

1139