this blog is all about my learnings on programming
Friday, June 25, 2010
Encapsulation in Java
Encapsulation - refers to the hiding of data and methods within an objects. and also protects data from corruption.
- easier to modify programs since one object type is modified at a time.
No comments:
Post a Comment