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 2 of 8.

Sudhir said:   7 years ago
Abstraction means nothing but hiding data inside the class showing only essential feature and hiding the rest of calculation done behind.
(2)

Ankit said:   8 years ago
Here,

Data abstraction is the right answer.
Data abstraction means showing the essential info to the user.
Whereas data hiding is just way to hide the info from the user.
(how to achieve data hiding -- private, protected, public).

Vishal Singh said:   8 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.

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

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.

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

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)

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

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

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


Post your comments here:

Your comments will be displayed after verification.