ALLInterview.com :: Home Page Forum9.Com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories >> Software >> Programming-Languages >> VC++ >> MFC
 
 


 

 
 MFC interview questions  MFC Interview Questions
 ATL interview questions  ATL Interview Questions
 COM DCOM interview questions  COM DCOM Interview Questions
 Win32API interview questions  Win32API Interview Questions
 ActiveX interview questions  ActiveX Interview Questions
Question
What is the difference between the Encapsulation and 
Abstraction
 Question Submitted By :: Ramaswamy
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the difference between the Encapsulation and Abstraction
Answer
# 1
to include data from an upper layer protocol in a lower 
layer protocol is called encapsulation 
abstraction is a mechanism and practice to reduce and 
factor out details so that one can focus on a few concepts 
at a time.
 
0
Karthik
 
  Re: What is the difference between the Encapsulation and Abstraction
Answer
# 2
Encapsulation means we hide the data from directly 
interaction and Abstraction means 
we bother about what the object can do but don't bother 
about how it does?
 
3
Rohini
 
 
 
  Re: What is the difference between the Encapsulation and Abstraction
Answer
# 3
Encapsulation means we are hiding the code and data in to a 
single unit to protect the data from outside world.

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.
 
0
K.ramaswamy
 
  Re: What is the difference between the Encapsulation and Abstraction
Answer
# 4
Encapsulation means we are hiding the code and data in to a 
single unit to protect the data from outside world.

abstraction is a mechanism and practice to reduce and 
factor out details so that one can focus on a few concepts 
at a time
good day 
forum from namdev and shekhar
 
0
Shekhar
 
  Re: What is the difference between the Encapsulation and Abstraction
Answer
# 5
I am not sure if this helps....
By encapsulating data user creates an Abstract object.
This is achieved in C++ putting the data members as private 
and member functions as public.
The end user only know how to call the methods associated 
with the object.
 
0
Sandip Mishra
 
  Re: What is the difference between the Encapsulation and Abstraction
Answer
# 6
Encapsulation is to hide the code complexities from outside
world where as Abstraction is to show only essential characters.
 
0
Anuj
 
  Re: What is the difference between the Encapsulation and Abstraction
Answer
# 7
By Encapsulating the implementaion, the client can not see 
actual implementation classes. Cient can see only 
abstraction class, thru which (abstraction class) client 
can create the different objects.
Ex: Shape class is Abstraction class
    Circle class, Square class is encapsulated, but the 
client can create the circle, square shapes by abstraction 
class i.e Shape class.
Hope I have clarified the doubt.
 
0
Niranjan Ambati
 
  Re: What is the difference between the Encapsulation and Abstraction
Answer
# 8
Encapsulation is a process of binding data and methods into
a single unit. 

Abstraction is a process where by we identify important
aspects of phenomenon and ignoring its details.
 
0
Ramaraju
 
 
 
 
Other MFC Interview Questions
 
  Question Asked @ Answers
 
Name the Synchronization objects?  2
how can u change button shape at run time  1
Difference between Debug and Release versions?  2
What?s the difference between Modal and Modeless Dialog? Usl-India5
What is the difference between Synchronous sockets and asynchronous sockets?  2
Can you explaing the relashionship between document,frame and view ?  2
What is the use of CCmdTarget ?  3
How to handle RTTI in MFC ?  1
what if we provide two message handler for same message ?  1
What is the difference between hinsrtance and hprevinstance in WinMain function?  3
what is the size of a process E-Logic1
how u can move CDC pointer to one line in cview?  1
What MFC base classes provide support for ActiveX controls? Wipro2
what are the feauters of CObject Siemens2
How to setup a timer?  2
how many types of classes are ther,what are that L&T3
What types of threads are supported by MFC framework?  2
What is the difference between the ASSERT and VERIFY macros?  3
What is Multithreading Invensys1
Differ GetMessage, PostMessage & PeakMessage? Symphony1
 
For more MFC Interview Questions Click Here 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com