Packages and namespaces are related, but different, concepts. Packages allow you to bundle class definitions together in a way that facilitates code sharing and minimizes naming conflicts. Namespaces allow you to control the visibility of identifiers, such as property and method names, and can be applied to code whether it resides inside or outside of a package. Packages let you organize your class files, and namespaces let you manage the visibility of properties and methods.
Saturday, February 23, 2013
Packages and namespaces are related, but different, concepts. Packages allow you to bundle class definitions together in a way that facilitates code sharing and minimizes naming conflicts. Namespaces allow you to control the visibility of identifiers, such as property and method names, and can be applied to code whether it resides inside or outside of a package. Packages let you organize your class files, and namespaces let you manage the visibility of properties and methods.
Categories: CHAPTER 3
Programming Actionscript 3. Powered by Blogger.