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 4 of 8.
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.
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)
Rajaram said:
1 decade ago
In real world scenario, the data should not be exposed to all/any users such bank details. So info/data should be hidden from others.
Anshu said:
1 decade ago
If you consider the broad meaning, data hiding may seem right. But to be very precise, DATA ABSTRACTION should be the correct answer.
Sarang said:
1 decade ago
It hides the data and expose only some information which is declared in the person class but we can access it by public variable.
Vaghasiya Hiren K. said:
1 decade ago
Because the data hiding was one concept of security in OOP.
Than only necessary information to client provided by data hiding.
Than only necessary information to client provided by data hiding.
Vijuuuuu said:
10 years ago
God knows how ATM counts cash. It is example of?
A) Encapsulation.
B) Abstraction.
C) Data hiding.
D) Data binding.
A) Encapsulation.
B) Abstraction.
C) Data hiding.
D) Data binding.
Suchita said:
1 decade ago
Abstraction is process of identifying key aspects of an entity and ignoring the rest. So answer should be abstraction.
Khushbu said:
8 years ago
It is wrong abstraction is right as it shows the user only essential information without including background details.
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.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers