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 1 of 8.
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.
Anu said:
1 decade ago
What is the difference between abstraction and data hiding ?
Vishnu said:
1 decade ago
Data Encapsulation : It is the process of binding of the data and functions together as a single unit.
Data Abstraction : It is the process of exposing only the interfaces and hiding the other details from the user.
Data Abstraction : It is the process of exposing only the interfaces and hiding the other details from the user.
Avin said:
1 decade ago
Abstraction is the concept used for showing only essential information while encapsulation (i.e. data hiding) is a concept used for hiding the irrelevant information from the user.
These two concepts work together in any application.
E.g. In an ATM machine, the whole process is hidden from us (Encapsulation) while only read info is given to us like our balance etc. (Abstraction)
These two concepts work together in any application.
E.g. In an ATM machine, the whole process is hidden from us (Encapsulation) while only read info is given to us like our balance etc. (Abstraction)
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.
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.
ANYA said:
1 decade ago
What is the difference between DATA ABSTRACTION and DATA HIDING?
Sushil said:
1 decade ago
Abstraction & Encapsulation are vice versa concept.
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.
But data hiding refers to hiding certain data from the user.
So data hiding will be the correct answer.
Sanjay said:
1 decade ago
Data hiding is part of data abstraction.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers