Start of Tutorial > Start of Trail |
Search
Feedback Form |
This trail talks about two more JavaTM programming language features that help you to manage relationships between classes that might not otherwise be related by the class hierarchy. First, you learn how to write and use an interface a protocol of communication between objects. Second, you will learn how to bundle classes and interfaces into packages.
You saw an example of implementing an interface in the previous trail. You can read more about interfaces--what they are for, why you might need to write an interface, and all about how to write one--in this section.
This section describes how to bundle your classes into packages and how to use classes that are in packages.
Start of Tutorial > Start of Trail |
Search
Feedback Form |
Copyright 1995-2002 Sun Microsystems, Inc. All rights reserved.