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:
71 comments Page 6 of 8.

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

Sayan Roy said:   9 years ago
The correct Answer should be an abstraction.

Abstraction means to provide necessary details and hides background details. Example- Cout is a predefine object of ostream class. We don't know how to implement done in ostream class but we know that how to use cout object. That is an abstraction.

Khushbu said:   8 years ago
It is wrong abstraction is right as it shows the user only essential information without including background details.

Mayur said:   8 years ago
THe answer should be Abstraction.
(1)

Nic said:   8 years ago
Actually, abstraction and encapsulation work together for data hiding.
(1)

Chaitanya Bhargav said:   8 years ago
Data hiding means " Hiding the our internal data"..
Data Abstraction means " Hiding the internal implementation".
Encapsulation = Data Hiding + data abstraction.
Encapsulation means " Binding the our internal data and the behavior" .
(1)

Rajendra said:   8 years ago
Abstraction is the correct answer.

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

Manisha kulkarni said:   7 years ago
I think the answer should be abstraction.

Vishal Singh said:   7 years ago
First thing data hiding is a feature of OOPS Concept and not a pillar of OOPS, the question is clearly asking "Which of the following concepts of OOPS means " So, according to me, that data hiding can't be the correct answer.


Post your comments here:

Your comments will be displayed after verification.