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

Pragya said:   3 years ago
Abstraction will be the correct answer.
(27)

AJEET GUPTA said:   4 years ago
Data hiding:

Data hiding is hiding the details of internal data members of an object. Data hiding is also known as Information hiding.

Abstraction:

It can be defined as the separation of unnecessary details or explanations from system requirements so as to reduce the complexities of understanding requirements.

Encapsulation:

It is a mechanism that puts the data and function together. It is the result of hiding the implementation details of an object from its user. The object hides its data to de accessed by only those functions which are packed in the class of that object.

Dynamic Binding:

Dynamic binding is the process of resolving the function to be associated with the respective functions calls during their runtime rather than compile time.
(11)

Aayush Tayal said:   7 months ago
Abstraction should be the correct answer.
(10)

Cipachu said:   6 years ago
Abstraction is answer because data hiding is just a term.
(5)

Krati said:   1 year ago
Abstraction is the right answer because in this we show the necessary data and hide the remaining data.
(4)

Maya sharma said:   5 years ago
What is the difference between abstraction and data hiding?
(2)

Sparsh said:   6 years ago
This should be Abstraction:

Definition of abstraction: In object-oriented programming, abstraction is one of three central principles (along with encapsulation and inheritance). Through the process of abstraction, a programmer hides all but the relevant data about an object in order to reduce complexity and increase efficiency.
(2)

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)

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

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


Post your comments here:

Your comments will be displayed after verification.