GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Concepts  >  OOPS
Go To First  |  Previous Question  |  Next Question 
 OOPS  |  Question 62 of 65    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
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 1   Answer is not useful 1Overall Rating: -N/A-    
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  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape