[b][red]This message was edited by LaurenH at 2004-3-3 23:45:32[/red][/b][hr]
With Regards to Encapsulation:
I understand is as basically - a class is an example of encapsulation.
I found a defintion on codepedia for encapsulation:
"Encapsulation states that we use methods to manipulate the classes properties and hade the properties them selfs." - http://www.codepedia.com/1/CustomCollections
The example used a class with its variables/properties defined as private and the methods as public.
If a class has its variables/properties declared as public does it still adhere to encapsulation?