|
This chapter looks at how several topics related to the organization
of Java code.
Java
- Packages
- how classes can be organized into packages, which are the Java
version of libraries
- Access rules
- how variables and methods can be hidden or made visible to methods
in other classes.
- Constants
- the final modifier
prevents a property value from changing.
- JARs - "zip"
compressed files that hold classes in a compact form.
- CLASSPATH
- how classes can find other classes and packages.
- Applet Directories
- putting applet classes into sub-directories.
- 3rd Party
Packages - using packages in various locations.
- Static Import
- with Java 5.0, it shortens the code needed to invoke a static
method or access a static variable.
- javadoc
- automatic docmentation of packages and classes.
- Coding
Conventions - suggested coding conventions to maintain a consistent
style.
Supplements
Tech
Physics
Latest Update: Oct. 22, 2004
|
|
|