Suggested Projects


Skill-Building Exercises

  1. Research The Java Platform API:   Visit Sun’s Java website [java.sun.com] and explore all the packages of the Java 2 Platform API.

  2. 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.

  3. 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.

  4. Research Collection Classes:   Explore the java.util package and research each of the collection classes to include: ArrayList, Vector, Stack, TreeSet, TreeMap, and HashTable.




Java For Artists(c) The Art, Philosophy, and Science of Object-Oriented Programming
Java For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming
ISBN: 1932504052
EAN: 2147483647
Year: 2007
Pages: 452

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net