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 to overload postfix operator in c++
what is the use of classes in c++;
What is difference between polymorphism and inheritance?
What is this interview room ? Is it a class or an object.
How long to learn object oriented programming?
What is the highest level of cohesion?
What is difference between class and object with example?
what is difference between objects and function
oops concept is used for?
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
How to Increment the value of the empid E001 for each and every employee by using the programe?
what is the technical or oop name of object?