1/4/06: Introduction to classes and objects. Abstract Data
Types: specification and implementation in Java. Class
types. Instantiation of a class. Encapsulation and Information
hiding. Example: class Point.
Textbook: 7 (all), 8.1-8.8, 8.15-8.17.
1/9/06: Review on arrays, classes and objects. Organizing
classes into packages.
1/18/06: Inheritance. Protected members. Constructors in
subclasses. Dynamic binding and polymorphism. GUI: use of
AffineTransform. Drawing shapes on a JPanel. Graphics
contexts. JFrames.
1/23/06: Access modifiers: private,
protected, public and default (no modifier).
Classes, Abstract classes and Interfaces. GUI: the Timer class, the
ActionListener interface. Containers and Layouts.
1/25/06: Overview on Layouts and JComponents: Container,
contentPane, BorderLayout, FlowLayout, GridLayout, JButton,
JTextField, JLabel, JPanel, JFrame. Drawing on a JPanel. Registering
event handlers with JComponents. Implementing interface
ActionListener.
1/30/06: Class variables and class methods. Static
declarations. Inheritance, polymorphism and dynamic
binding. Signatures. Method overriding and method
overloading. Implementing interfaces. Lab: review of pg2-2.
2/1/06: Use of JBuilder. Lab: continuation of pg3 and
design of pg4.
2/6/06: Continuation of Laboratory activity.
2/8/06: Design of pg4: Lists, LinkedLists and
Iterators. The equations of the uniformly accelerated motion. Lab:
review of pg3.
2/13/06: Development of pg4. Use of LinkedLists, Iterators
and the for-each loop statement.
2/15/06: Midterm Examination.
2/20/06: Exceptions in Java. Try-statements. Checked and
unchecked exceptions. Throwing and handling exceptions.
2/22/06: More on the use of class AffineTransform. Development of the
CannonBall project.
2/27/06: Files in Java. Files and streams. Standard
streams. Byte-based streams and character-based streams. Classes
Scanner and Formatter. Reading and writing
textfiles. Serialization. Classes ObjectInputStream and
ObjectOutputStream.
3/1/06: Review of the midterm examination.
3/6/06: Strings in Java. Preparation to the final
exam. Evaluating polynomials on a point. The Horner's
method. Converting a string into a number.