IT Community - Software Programming, Web Development and Technical Support

Explain why encapsulation is required?

This is a discussion on Explain why encapsulation is required? within the C and C++ Programming forums, part of the Software Development category; Hui can anybody Explain why encapsulation is required?...


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 (permalink)  
Old 08-01-2007, 12:45 AM
vigneshgets vigneshgets is offline
D-Web Genius
 
Join Date: Mar 2007
Posts: 904
vigneshgets is on a distinguished road
Wink Explain why encapsulation is required?

Hui can anybody Explain why encapsulation is required?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-01-2007, 03:10 AM
prasannavigneshr prasannavigneshr is offline
D-Web Incredible
 
Join Date: Feb 2007
Posts: 1,321
prasannavigneshr is on a distinguished road
Send a message via MSN to prasannavigneshr
Thumbs up Re: Explain why encapsulation is required?

Hi buddy,

The idea of encapsulation comes from
(i) the need to cleanly distinguish between the specification and the implementation of an operation and
(ii) the need for modularity. Modularity is necessary to structure complex applications designed and implemented by a team of programmers.

It is also necessary as a tool for protection and authorization.

There are two views of encapsulation: the programming language view (which is the original view since the concept originated there) and the database adaptation of that view.

From the above details, you may get why it is required? For Protection, authorization, information hiding etc...

Hope usefull.
__________________
Prasanna Vignesh
MCPD | Web Developer
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to generate nodes of XML in the required format? poornima ASP and ASP.NET Programming 2 02-14-2008 09:17 PM
MTU Explain srikumar_l Networking & Internet Connectivity 0 12-17-2007 08:51 PM
Can anyone explain what is XSL ? kingmaker XML and SOAP 3 07-21-2007 03:10 AM
What are the required components of Windows Server 2003 for installing Exchange 2003? karunagaran Server Management 0 07-17-2007 12:21 AM
Is it required ? Maneel Game Development 4 03-14-2007 09:11 PM


All times are GMT -7. The time now is 10:05 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0