IT Community - Software Programming, Web Development and Technical Support

why encapsulation is required?

This is a discussion on why encapsulation is required? within the C and C++ Programming forums, part of the Software Development category; hi, Please tell me why encapsulation is required? Thanks...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > C and C++ Programming

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 02-01-2009, 11:47 PM
kim123 kim123 is offline
D-Web Trainee
 
Join Date: Feb 2009
Posts: 1
kim123 is on a distinguished road
Default why encapsulation is required?

hi,

Please tell me why encapsulation is required?

Thanks
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 09-09-2009, 04:44 PM
tim.robson tim.robson is offline
D-Web Trainee
 
Join Date: Sep 2009
Posts: 6
tim.robson is on a distinguished road
Default Re: why encapsulation is required?

I believe encapsulation is the most important feature in c++ and all other object oriented languages.

Encapsulation can significantly reduce the complexity of your software. You can only publish your public members and keep all the private ones. As long as you do not change the public interface, you are free to change the private implementations. With encapsulation, the coupling among your different modules can be greatly reduced.

Thanks a lot,

Tim Robson

Last edited by arjkhanna : 09-10-2009 at 02:30 AM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is Clustering required? nnraja Server Management 2 05-11-2009 01:56 AM
assistance required for image rating script aryan_passion2 PHP Programming 0 01-13-2009 10:51 AM
How to generate nodes of XML in the required format? poornima ASP and ASP.NET Programming 2 02-14-2008 08:17 PM
Explain why encapsulation is required? vigneshgets C and C++ Programming 1 08-01-2007 02:10 AM
Is it required ? Maneel Game Development 4 03-14-2007 08:11 PM


All times are GMT -7. The time now is 01:47 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0