Skip to Content
Java™ Phrasebook
book

Java™ Phrasebook

by Timothy Fisher
November 2006
Intermediate to advanced
224 pages
3h 29m
English
Sams
Content preview from Java™ Phrasebook

17. Packaging and Documenting Classes

A Java application will typically consist of many classes, sometimes hundreds, or even thousands of classes. Because Java requires each public class to be defined in a separate file, you end up with at least as many files as you have classes. This can easily become unmanageable when it comes to working with your classes, finding files, or installing and distributing your application. Fortunately, this was considered when Java was created, and Sun has defined a standard packaging mechanism for placing related classes into packages. Packages in Java are a way of organizing classes according to functionality. The packaging mechanism also organizes Java source files into a known directory structure based on ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Ruby Phrasebook

Ruby Phrasebook

Jason Clinton
Wicked Cool Java

Wicked Cool Java

Brian D. Eubanks
Just Java™ 2

Just Java™ 2

Peter van der Linden
What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz

Publisher Resources

ISBN: 0768668255Purchase book