←
^
→
Introduction to 492 and Decoupling
Namespaces
Most object-oriented (and some non) languages have namespaces.
By using different namespaces, two or more developers avoid duplicating names (variables, functions, classes, etc.)
In Java method arguments have the
scope
of the method, member variables have the scope of the class and sometimes beyond (static).
Further, Java has packages which group together many classes in a namespace.
José M. Vidal
.
28 of 34