Namespace Management
Import namespace | Import item | ||
---|---|---|---|
qualified | unqualified | ||
ABAP Objects | |||
C++ (STL) | using namespace ns; | using ns::item ; | |
C# | using ns; | using item = ns.item; | |
D | import ns; | import ns : item; | |
Java | import ns.*; | import ns.item | |
Objective-C | |||
Visual Basic .NET | Imports ns | ||
Eiffel | |||
Python | import ns | from ns import * | from ns import item |
PHP | use ns; | use ns\item; | |
Perl | use ns; | use ns qw(item); | |
Perl 6 | |||
Ruby | |||
Windows PowerShell | |||
OCaml | open ns | ||
F# |
Read more about this topic: Comparison Of Programming Languages (object-oriented Programming)
Famous quotes containing the word management:
“The care of a house, the conduct of a home, the management of children, the instruction and government of servants, are as deserving of scientific treatment and scientific professors and lectureships as are the care of farms, the management of manure and crops, and the raising and care of stock.”
—Catherine E. Beecher (18001878)