O'Reilly logo

Just Java™ 2, Fifth Edition by Peter van der Linden

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

Chapter 9. Packages and Visibility

Packages and Visibility

In this chapter, we’ll look at the “how” and “why” of packages. Java uses the term package to mean a collection of related .class files in a directory. Speaking very strictly, packages and classes do not have to be directories and files. The Java Language Specification is written to allow implementations that store source code in a database or any other kind of repository, and some IDEs do that. However, “package ...

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