CoolInterview.com - World's Largest Collection of Interview Questions
Send Free SMS
 Interview Questions  
 Our Services  


INTERVIEW QUESTIONS LANGUAGES C++ DETAILS
Question :
What is encapsulation?



Category C++ Interview Questions
Rating (5.0) By 6 users
Added on 7/19/2006
Views 1830
Rate it!
Answers:

Encapsulation means wrapping up of Data and Code...this is what i got from data structures book...



Encapsulation is wrapping up of data and function together so that only the functions that are wrapped alongwith the data can access the data .The outcome of encapsulation is data hiding.



 Posted by: NISHANT    

Contact NISHANT  Contact NISHANT

Encapsulation is wrapping up of data and member functions which becomes a class.



 Posted by: Raj    

Contact Raj  Contact Raj

encapsulation means wraping up of data with the required functions which can access only that data.



 Posted by: KHEM RAJ    

Contact KHEM RAJ  Contact KHEM RAJ


If you have the better answer, then send it to us. We will display your answer after the approval.
Name :*
Email Id :*
Answer :*
Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
Process Verification  Enter the above shown code:*
Inform me about updated answers to this question

   
Related Questions
View Answer
what is defference between constructor and destructor


View Answer
Can you explain the term "resource acquisition is initialization?"

View Answer
What is the difference between operator new and the new operator?

View Answer
How can you force instantiation of a template?

View Answer
What is an algorithm (in terms of the STL/C++ standard library)?


View Answer
What is the output of printf ("%d")


View Answer
What will happen if I say delete this


View Answer
Difference between "C structure" and "C++ structure".


View Answer
What is the difference between "overloading" and "overriding"?


View Answer
Explain the need for "Virtual Destructor".


View Answer

Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.

Notify me when better answer is posted!
Email:

View ALL C++ Interview Questions

User Options
Sponsored Links


Copyright ©2003-2010 CoolInterview.com, All Rights Reserved.
Privacy Policy | Terms and Conditions
Page URL: http://www.coolinterview.com/interview/6137/default.asp?cachecommand=bypass


Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Free SMS | Dedicated Servers | Joke of the Day

1.5