What is the difference between the Encapsulation and
Abstraction

Answers were Sorted based on User's Feedback



What is the difference between the Encapsulation and Abstraction..

Answer / arsalan ansari

Abstraction basically showing the common and currently known
information to the user where encapsulation is hiding the
data details to the outside world

Is This Answer Correct ?    3 Yes 0 No

What is the difference between the Encapsulation and Abstraction..

Answer / prajwal

Encapsulation is nothing but hiding information it is also
called as data hiding, while abstraction denotes the
essential characteristics of an object which differentiates
from other kinds of object.

Is This Answer Correct ?    3 Yes 1 No

What is the difference between the Encapsulation and Abstraction..

Answer / tarun verma

Encapsulation means wrapping up something.
in programming generally data and methods are wrapped up
into a single unit called class. This wrapping is called as
encapsulation.

Abstraction means hiding the complexity of something and
just seeing it's overview.As We See A Car without Knowing
It's Inner Complexity.

In programming it is achieved by objects.
As we just invoke the methods with a object without knowing
it's details.

Is This Answer Correct ?    2 Yes 0 No

What is the difference between the Encapsulation and Abstraction..

Answer / priya

Encapsulation is merely securing and hiding the internal
data from the outside world.
Abstraction is a way of providing generalization.it
focuses more on what the object does instead of how it
does.

Example : A yahoo messanger.

Users know the way to exchange chat messages.But the
internals about how it is conveyed at the other end is not
know ..this is known as an abstraction.

Is This Answer Correct ?    3 Yes 2 No

What is the difference between the Encapsulation and Abstraction..

Answer / moni

abstraction means hiding the data and encapsulation means
protecting the data through hiding

Is This Answer Correct ?    2 Yes 2 No

What is the difference between the Encapsulation and Abstraction..

Answer / suman chowdary

Encapsulation is the process of compartmentalizing the
elements of an abstraction that defines the structure and
behavior. Encapsulation helps to separate the contractual
interface of an abstraction and implementation .
Abstraction defines the essential characteristics of an
object that distinguish it from all other kinds of an objects

Is This Answer Correct ?    9 Yes 10 No

What is the difference between the Encapsulation and Abstraction..

Answer / praveen reddy

Encapsulation it's process of Binding the member variable
of a class along with member functions.

Abstraction is Hiding the implementation but provide the
services................

Is This Answer Correct ?    0 Yes 1 No

What is the difference between the Encapsulation and Abstraction..

Answer / brijendra kumar(java xavient)

Encapsulation is to hide the code complexities from outside
world means in Encapsulation the implementaion, the client
can not see actual implementation classes.
Abstraction means we know about the object how it can be
used but we dont know how it is implemented. and we can
hide the data using the AccessSpecifiers.

Is This Answer Correct ?    0 Yes 1 No

What is the difference between the Encapsulation and Abstraction..

Answer / bala

Encapsulation: Binding of object and methods inside the single unit.

Abstraction:Hiding the details of data and methods from how it would be implemented.

Is This Answer Correct ?    0 Yes 1 No

What is the difference between the Encapsulation and Abstraction..

Answer / praveen deshmukh

Encapsulation is related to object and abstraction is blong
to class

Is This Answer Correct ?    4 Yes 6 No

Post New Answer

More MFC Interview Questions

Have you ever used win32 APIs ?

4 Answers   Microsoft,


How do I create a dialog box in mfc?

0 Answers  


How we can findout Memoryleaks, In what way it can be avoided

6 Answers   Infosys,


Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A. Explain how a pointer to function can be declared in C++? B. List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header ("Include") Files.

3 Answers   ABC, HCL, Infosys,


Tell us something about MFC?

7 Answers   Microsoft,






What are the special requirements for dialog box resources used in a form view?

2 Answers  


What MFC base classes provide support for ActiveX controls?

2 Answers   Wipro,


How WM_PAINT message gets called in MFC,please explain it . a)Who calls the WM_PAINT message? b)When it gets called? c)how it comes to message queue? Please Explain it

8 Answers  


i have created runtime menu -- ( admistrator ->managepackage,manage module). but now i want to open a dialog when i select manage package and any other diaolg when selecting manage module ( whole selection is at run time only ) . Please HELP .its urgently required

3 Answers   Patni,


What is the base class for most MFC classes?

7 Answers   CMC, Siemens,


In VC++ How to transfer between one exe to another exe while running..

5 Answers   Wipro,


how u can move CDC pointer to one line in cview?

2 Answers  


Categories