d- encapsulation

janderson askme at me.com
Wed Mar 14 08:28:05 PDT 2007


Kyle Furlong wrote:
> 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.

Really?  Then I feel sorry for people who's primary language is not English.

-Joel



More information about the Digitalmars-d mailing list