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

Pooja said:   1 decade ago
Abstraction - Showing essential features without including background details.

Data hiding - Controlling the accessibility of data like using access specifiers.

So the answer should be ABSTRACTION not data hiding.

Pavan said:   1 decade ago
No @Chaitanya saying that would be incorrect.

Encapsulation refers to binding data and functions working on it in a single component But data hiding is different from it.

Aakriti said:   1 decade ago
According to me abstraction is the correct answer because"data hiding" refers to only hiding of data but doesn't say anything about displaying only necessary info.

Abstraction means exposing only the necessary data hiding the background information.

Sonali said:   1 decade ago
Data hiding is the intense version of encapsulation.

Chaitanya said:   1 decade ago
Data hiding is also called encapsulation is correct/not?

Jwala said:   1 decade ago
The answer is abstraction as it hides the complexities from the user and shows only the essential features. Whereas data hiding is hiding the data altogether from the user means data hiding means public, protective or private. Hence data hiding is correct answer.

Varshni said:   1 decade ago
Abstraction refers to hiding the complexity i.e. Hiding the steps used to perform operation.

But data hiding refers to hiding certain data from the user.

So data hiding will be the correct answer.

Sushil said:   1 decade ago
Abstraction & Encapsulation are vice versa concept.

ANYA said:   1 decade ago
What is the difference between DATA ABSTRACTION and DATA HIDING?

Vivek kumar said:   1 decade ago
According to me answer should be abstraction because it hides the complexity from the user and provides the required information to the user.


Post your comments here:

Your comments will be displayed after verification.