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 |
Can an interface inherit a class?
What is a scope operator and tell me its functionality?
all about pointers
Does c++ support multilevel and multiple inheritance?
What polymorphism means?
what is overloading and overriding?
how much classes are used in c++
who is the founder of c++?
Program to print 0 to 9 in cross order
Is this job good for future? can do this job post grduate student?
what's the basic's in dot net
what isthe difference between c structure and c++ class