Final Review Sheet
Use the two previous review sheets for checklists on material covered
prior to tests 1 and 2. Final exam is cumulative. Below is a checklist
for new material since Test 2.
General
- Know all the keywords covered so far in the course
- Understand Javadoc and how basic Javadoc comments work
- Understand packages, how to use the import statement to
bring a class or package into a program, and that java.lang is
automatically part of every program
- Understand how to use the package statement to place a
class into a programmer-defined package
- Given Java code with method calls, be able to identify what class a
method comes from (or where to start looking)
Files and Streams (Chapter 17)
- Understand what streams are
- input streams vs. output streams
- byte streams vs. character streams
- InputStream, OutputStream, Reader, Writer classes (know which are
byte streams and which are character streams)
- class File
- File stream classes (byte and char)
- Buffered streams
- Know how to open an input file and read data from it
(read() method)
- Know how to open an output file and write data to it
(write() method)
Graphics class, paint() - (Chapter 12)
- Understand the paint() method, which comes from class
Component (so every GUI component has the paint method
available)
- Understand when paint() is called, and how the programmer
can force it to be called specifically (repaint())
- Understand the parameter of paint() -- (Graphics
g) -- and what kinds of things can be done with it
- Understand the basics of the helper classes Color,
Font, FontMetrics, Polygon
- Understand what kinds of things can be drawn with the Graphics class
methods (strings, lines, ovals, rectangles, polygons, etc)
- Understand the difference between the Graphics and
Graphics2D classes
GUI Components - (Chapters 13-14)
- Understand the code examples in chapters 13, 14 (we've looked
through these in class)
- Understand the common components and containers in the Swing
libraries
- Know the three types of top-level containers (JFrame, JApplet,
JDialog)
- Know what other basic containers are available, and can be embedded
inside other containers -- especially the use of JPanel
(these also include things like JTabbedPane, JDesktopPane,
JInternalFrame, etc)
- Understand the components discussed in class (i.e. seen in examples
in chapters 13, 14) -- be able to recognize various types of
components and distinguish between them.
- Be able to differentiate between components and containers
- Understand how event handling works, as well as the basic event
handler interfaces discussed and seen in examples:
- ActionListener
- ItemListener
- MouseListener
- MouseMotionListener
- KeyListener
- Understand the layout managers discussed and be able to
differentiate between them
- Understand the use of inner classes and anonymous inner classes,
especially in the building of event handlers (as we've seen in many
examples)