What is the difference between data hiding and implementation?



What is the difference between data hiding and implementation?..

Answer / Ashok Kumar Mishra

Data hiding is a mechanism that restricts access to an object's data to only certain functions within that object. Implementation, on the other hand, refers to the detailed description of how a particular feature or function works. Data hiding is a part of encapsulation, while implementation details are usually hidden from the user.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOAD Interview Questions

what is the difference between the up phase and up workflows?

1 Answers  


What are abstract methods?

1 Answers  


Why abstraction is important?

1 Answers  


What is the use of Operator Overloading?

1 Answers   Protech,


What is association?

2 Answers   Protech, Wipro,


Why dynamic loading is used in object-oriented programming?

1 Answers  


Explain about the relationship between object oriented programming and databases?

1 Answers  


What is the use of interface?

1 Answers  


Classes and structs support inheritance. Is this statement true or false?

1 Answers  


What is the difference between class inheritance and interface inheritance?

1 Answers  


Can we override static methods of a class?

1 Answers  


What is virtual multiple inheritance?

1 Answers  


Categories