Study Guide


Second Midterm Exam: Mon, Nov. 20, 2006

The exam will be in class, and you will have 50 minutes to complete it. It will be closed book, closed notes, closed laptops, and no discussions allowed with class mates during the exam.


Here is a list of topics that you should be able to explain or use in a program. Understanding these topics well will help you do well on the exams.

This is a guide, not a guarantee. I intend for it to help you, but questions on the exam can come from any material we have studied in this class.

  1. All items from study guide 1.
  2. 
    Java and OO concepts
    --------------------------------------------------------
    
    class
    object
    
    method
    main method
    
    3 kinds of variables:
       field
       local variable (local to a method)
       argument to a method
    
    
    constructor
    default constructor
    
    type
    strong typing
    built-in types of Java
    
    runnable program
    byte code
    scope
    
    inheritance
    base class (parent class, superclass)
    derived class (child class, subclass)
    
    --------------------------------------------------------
    
    overloaded methods
    constants (final)
    class variable (static) vs. instance variable