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.

Anzee said:   9 years ago
It is abstraction where we only show the important data to the user and hides all remaining.

Lukmon said:   9 years ago
I strongly suggest abstraction which involves keeping the main work and showing the interface alone.

ANSHDEEP CHAWLA said:   9 years ago
The concept of Encapsulation = Concept of DATA HIDING + Concept of ABSTRACTION.

Sam said:   9 years ago
In c++ program public part is abstraction means showing only essential things.

Private part is data hiding means hiding implementation details means fields.

And abstraction + data hiding = encapsulation.

Through getter and setter method you can access private part data and code binding together.

Kalyani said:   9 years ago
Abstraction is right answer. Because it only gives necessary information rather than details.

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.

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.

Logesh kumar said:   9 years ago
What is the difference data hiding and data binding?

Vedanti said:   9 years ago
Abstraction is showing only required data to users. The data not to be shown is hidden by default.

While data hiding is specifying the type of access to data. Which may not affect users operation or user may not require. But we can decide the access and if access is given we can see the data which is not the case with abstraction.

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.


Post your comments here:

Your comments will be displayed after verification.