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 deploy web appliction in web logic ?
What is interface? When and where is it used?
What is a friend function & its advantage?
What are the features of oop?
What is the use of unnamed namespaces in OOPS? The only advantage I know is that they dont need the scope resolution operator while accessing them. I want to know some other advantages of unnamed namespaces...
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is coupling in oops?
what is the difference between ERROR and EXCEPTION?
what is the new version of c++
1 Answers Ignou, Pramata, Satyam,
What is new keyword in oops?
write a c++ program to find maximum of two numbers using inline functions.
Why is polymorphism used?