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?
Discussion:
71 comments Page 5 of 8.
Uday said:
1 decade ago
Data hiding means giving/revoking access members. Like access specifiers.
Eg: Public/private/protected. :).
Eg: Public/private/protected. :).
Krati said:
1 year ago
Abstraction is the right answer because in this we show the necessary data and hide the remaining data.
(4)
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.
ANSHDEEP CHAWLA said:
9 years ago
The concept of Encapsulation = Concept of DATA HIDING + Concept of ABSTRACTION.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers