d- encapsulation

Kyle Furlong kylefurlong at gmail.com
Tue Mar 13 15:38:05 PDT 2007


Tomas Lindquist Olsen wrote:
> arun s wrote:
> 
>> i want to know how the encapsulation rules works in D.
>> i have made a attribute as private in the class, but am able to access
>> this attribute directly from the class instance...can any body give reason
>> for this???
> 
> You should post some code for decent replies.

Formatting, punctuation, capitalization, spelling, and grammar would all 
  go a long way toward getting decent replies as well.



More information about the Digitalmars-d mailing list