Friday, July 25, 2008
What is Data Encapsulation?
Data Encapsulation is wrapping informations(attributes and behaviors) within an object.A suitable example is a class as it wraps methods and data within itself. The attributes of a class corresponds to its data members while behaviour corresponds to member methods of the class.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment