GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Concepts  >  OOPS
Go To First  |  Previous Question  |  Next Question 
 OOPS  |  Question 62 of 68    Print  
Difference between data encapsulation and abstraction?

  
Total Answers and Comments: 4 Last Update: November 17, 2008     Asked by: k_george80 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: hafeez_munawar
 

Encapsulation:
Data and function that operate on that data are wrapped in a single unit.

Abstaction:
In abstratction, only interface in exopsed, the underlying details of the particular function is hidden from the programmer. So one does'nt need to worry about the details of a particular method, he or she just calls the method



Above answer was rated as good by the following members:
sheta, Shubhangi Shekhar
May 31, 2008 00:43:26   #1  
pammi_11 Member Since: April 2008   Contribution: 4    

RE: Difference between data encapsulation and abstraction?
encapsulation means wrapping of data and function together into a single unit.
 
Is this answer useful? Yes | No
May 31, 2008 00:46:08   #2  
pammi_11 Member Since: April 2008   Contribution: 4    

RE: Difference between data encapsulation and abstraction?
wrapping of data and function together is called encapsulation.
 
Is this answer useful? Yes | No
July 11, 2008 02:56:51   #3  
hafeez_munawar Member Since: July 2008   Contribution: 2    

RE: Difference between data encapsulation and abstraction?

Encapsulation:
Data and function that operate on that data are wrapped in a single unit.

Abstaction:
In abstratction only interface in exopsed the underlying details of the particular function is hidden from the programmer. So one does'nt need to worry about the details of a particular method he or she just calls the method


 
Is this answer useful? Yes | NoAnswer is useful 2   Answer is not useful 1Overall Rating: +1    
November 17, 2008 03:07:44   #4  
shivamrastogi Member Since: May 2008   Contribution: 3    

RE: Difference between data encapsulation and abstraction?
Encapsulation: wraping of data in a single unit.
Abstraction: Data hiding

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape