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:
72 comments Page 2 of 8.
Chaitanya Bhargav said:
8 years ago
Data hiding means " Hiding the our internal data"..
Data Abstraction means " Hiding the internal implementation".
Encapsulation = Data Hiding + data abstraction.
Encapsulation means " Binding the our internal data and the behavior" .
Data Abstraction means " Hiding the internal implementation".
Encapsulation = Data Hiding + data abstraction.
Encapsulation means " Binding the our internal data and the behavior" .
(1)
Mayur said:
9 years ago
THe answer should be Abstraction.
(1)
Ghulam Ali said:
2 years ago
Encapsulation is the right answer.
(1)
Shehab Ashraf said:
2 years 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)
Suchita said:
1 decade ago
Abstraction is process of identifying key aspects of an entity and ignoring the rest. So answer should be abstraction.
Kalyani said:
9 years ago
Abstraction is right answer. Because it only gives necessary information rather than details.
Ejaz Ahmad said:
10 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.
Encapsulation: It is coding process, it is implementation of abstraction.
Priya said:
10 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.
Data binding: combining two variables, it is of two types: static and dynamic.
Logesh kumar said:
10 years ago
What is the difference data hiding and data binding?
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.
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.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers