Research The Java Platform API: Visit Sun’s Java website [java.sun.com] and explore all the packages of the Java 2 Platform API.
Practice Navigating An Inheritance Hierarchy: Visit Sun’s Java website and research the following classes:
java.lang.System |
---|
javax.swing.JFrame |
javax.swing.JDialog |
javax.swing.JApplet |
java.io.InputStream |
java.io.OutputStream |
java.util.Date |
java.util.Vector |
java.net.Socket |
For each class in the above list trace the complete inheritance hierarchy and draw the chain of base classes as a UML class diagram. Use figures 5-5 and 5-7 as a guide. Note the interfaces implemented by each class and conduct research on those as well. Note any deprecated methods you encounter in your research.
Research Wrapper Classes: Explore the java.lang package and research each of the primitive type wrapper classes to include: Character, Byte, Boolean, Integer, Float, and Double. Note the functionality each wrapper class provides.
Research Collection Classes: Explore the java.util package and research each of the collection classes to include: ArrayList, Vector, Stack, TreeSet, TreeMap, and HashTable.