Encapsulation is the ability of an object to be a container (or capsule) for related properties (ie. data variables) and methods (ie. functions). Data hiding is the ability of objects to shield variables from external access. These private variables can only be seen or modified by use of object accessor and mutator methods. Private, Public and Protected. usage of Package. etc.
Thursday, June 7, 2007
Subscribe to:
Post Comments (Atom)
0 Comments:
Post a Comment