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
How long to learn object oriented programming?
What is the point of polymorphism?
What is debug class?what is trace class? What differences are between them? With examples.
What is polymorphism what are the different types of polymorphism?
Why multiple inheritance is not allowed?
What is pure oop?
Is react oop?
Why do we need polymorphism in c#?
What are oops functions?
Can we override main method?
What is the main feature of oop?
How do you define social class?
What is the advantage of oop over procedural language?
What is class and example?
Explain virtual inheritance?