Name Spaces
Names defined inside a namespace can be used outside the namespace description.
Use a fully qualified name, similar to a fully qualified method name: // read the value of the height variable int max = StackADT::height;
Alternatively, all the names defined in a name space can be included in a program using a single statement: using StackADT;
// include all the names defined in the namespace