O'Reilly logo

The Java® Tutorial: A Short Course on the Basics, Fifth Edition by Raymond Gallardo, Sowmya Kannan, Sharon Biocca Zakhour

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7. Packages

This chapter explains how to bundle classes and interfaces into packages, use classes that are in packages, and arrange your file system so that the compiler can find your source files.

To make types easier to find and use, avoid naming conflicts, and control access, programmers bundle groups of related types into packages.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required