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

Shehab Ashraf said:   1 year ago
Encapsulation and abstraction are both OOP principles used interchangeably to achieve better security and a high level of implementation by hiding sensitive and unnecessary data and only exposing necessary data.
(1)

HINA said:   1 decade ago
According to me abstraction is the correct answer because abstraction focuses on the main aspect of the application and hide the internal details so that it will be more flexible for the user to use.

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.

Dinesh Kumar Lodhi said:   1 decade ago
Abstraction focuses on the essential characteristics of some object, relative to the perspective of the viewer whereas Encapsulation hides the details of the implementation of an object.

Shruti 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.

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.

Def said:   1 decade ago
As we are showing only essential information to the client why it can't be abstraction. A/q to the definition it should be. Please clear b/w abstraction and data hidding.

Ejaz Ahmad said:   9 years ago
Abstraction: It is thought process, designing process, it is the process of peacetime while.
Encapsulation: It is coding process, it is implementation of abstraction.

ABC said:   1 decade ago
Abstraction is the concept where only important features are shown so that user only use that information he/she should not worried about internal working.

Priya said:   9 years ago
Data hiding: showing important information by hiding the other details.

Data binding: combining two variables, it is of two types: static and dynamic.


Post your comments here:

Your comments will be displayed after verification.