"Importing Libraries in Java"

Please read this article. Java classes and interfaces can be organized into packages to group related types and for name-space management.