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 |
what is SPL in c++.
Can abstract class have normal methods?
pointers are support in C#? if yes then how to use it?
8 Answers Softvision Solution,
can you give real time example for polymarphism
DIFFRENCE BETWEEN STRUCTURED PROGRAMING AND OBJCET ORIENTED PROGRAMING.
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
What is polymorphism in oops with example?
c++ is a pure object oriented programming or not?
What is virtual class and friend class?
What is a macro? And how is a macro same as a template?
explain the concepts of oops?
What are the access specifiers avaible in c++?