d- encapsulation

arun s 1986.arun at gmail.com
Tue Mar 13 10:15:09 PDT 2007


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??? 




More information about the Digitalmars-d mailing list