September 2011
Intermediate to advanced
434 pages
9h 32m
English
Data hiding is the act of concealing information from a possible client of the application and a possible problem domain. In object-oriented languages, data hiding helps maintain proper encapsulation and is enforced by the use of namespaces such as the following:
private declaration can be targeted/referenced only in the scope to which they're declared.Protected is a slightly less restrictive use of private. Behaviors and attributes declared as protected can only be used within the class that defined them, or by that classes subclasses.internal, it can be viewed by any class in the same package. By default, behaviors and attributes are always ...Read now
Unlock full access