what is data hiding.
Answers were Sorted based on User's Feedback
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 |
How oops is better than procedural?
what is virtual function?
26 Answers Aspire, HP, Infosys, RoboSoft, TCS,
write knight tour problem which is present in datastructure
What is a class?
32 Answers Infosys, TCS, Thylak,
what is ltti
What is encapsulation in oops?
what is multi level inheritance give n example ?
13 Answers HDFC, Hulas Steel, Ness Technologies,
What is polymorphism in oops with example?
What is DeadlyDiamondDeathProblem ?
Program to check whether a word starts with a capital letter or not.
design class for linked list and include constructor,destructor,insert option. node of form struct node { int data; struct node &ptr; }
What is nutshell in programming language?
1 Answers Satyam, Tech Mahindra,