Packages
Home ] Up ] Introduction ] Java Resources ] The Java Environment ] Java Language Fundamentals ] Objects and Arrays ] Operators ] Statements ] Classes and Objects ] [ Packages ] Inheritance & Polymorphism ] The Java Class Library ] Inner Classes ] Graphics Programming ] Events ] Swing GUI Components ] Applets ] Exceptions ] Generic Programming ]

 

Qualified Names
The import Statement
Automatic Import
The package Statement
Compilation Units
Host Support for Packages
Type Definitions
Access Control

 

Name Spaces and Reusability

A major problem when developing reusable code is that of name conflicts.

Vendor B might develop a library of classes, while Vendor M might develop another library of classes. Customer C wants to use both libraries, but discovers that a number of class names have been duplicated across the two libraries.

What to do?

 

This page was last modified on 27 November, 2007