Object Oriented Programming with D Language. Private access specifier.

DF deefriend at ymail.com
Wed Aug 20 15:29:23 PDT 2008


Why can private fields be accessed from other methods or classes in the same module?

If I wanted to access them from the same module I would make them package public.



More information about the Digitalmars-d mailing list