what is data hiding.

Answers were Sorted based on User's Feedback



what is data hiding...

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 data hiding...

Answer / mahesh

to secure data from other classes.

Is This Answer Correct ?    7 Yes 1 No

what is data hiding...

Answer / mahesh

to secure data from other classes.

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More OOPS Interview Questions

what is new modifier in C#

8 Answers   HCL,


What is extreme programming?

2 Answers  


What is the real time example of encapsulation?

0 Answers  


what is a virtual class?

5 Answers   Cap Gemini, IBM, Infosys, Trinity Technologies,


what is the difference between javap and jad utility

1 Answers   Wipro,






Is oop better than procedural?

0 Answers  


What does and I oop and sksksk mean?

0 Answers  


What is and I oop mean?

0 Answers  


How long to learn object oriented programming?

0 Answers  


function overridind means and simple program

2 Answers  


What is coupling in oops?

0 Answers  


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?

0 Answers  


Categories