C++ Programming - OOPS Concepts - Discussion

Discussion Forum : OOPS Concepts - General Questions (Q.No. 10)
10.
Which of the following concepts of OOPS means exposing only necessary information to client?
Encapsulation
Abstraction
Data hiding
Data binding
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
72 comments Page 5 of 8.

Neha said:   8 years ago
What is the difference between abstraction and data hiding? and why the answer is data hiding and not an abstraction.

Uday said:   1 decade ago
Data hiding means giving/revoking access members. Like access specifiers.

Eg: Public/private/protected. :).

Krati said:   2 years ago
Abstraction is the right answer because in this we show the necessary data and hide the remaining data.
(6)

Vipin P Mishra said:   1 decade ago
From my thinking abstraction is right answer because abstraction show only show essential information.

Lukmon said:   9 years ago
I strongly suggest abstraction which involves keeping the main work and showing the interface alone.

Raju Singh Kumai said:   1 decade ago
The answer should be Abstraction as it allow to show only relevant info. And not the detail part.

Kalyani said:   9 years ago
Abstraction is right answer. Because it only gives necessary information rather than details.

Sangita said:   1 decade ago
Please explain the difference between data hiding and and abstraction with a simple program?

Anzee said:   9 years ago
It is abstraction where we only show the important data to the user and hides all remaining.

KinG Mj said:   1 decade ago
Abstraction is the Right Answer, Data Hiding is purely a part of the Encapsulation.


Post your comments here:

Your comments will be displayed after verification.