CIS 4930 (Programming in Java):
Lecture Summaries
- January 6: Course topics; administrative information;
a little about Java.
- January 8: More Java basics; "Hello World" example
application and "Hello Web" example applet;
Homework #0b
assigned.
- January 13: "Hello Web" example applets from chapter 2 of text.
Applets are
available for execution and/or download; see
Sample programs.
- January 15: Review of object-oriented programming concepts (not
from text); tour of Java syntax based on chapter 4 of text;
not-for-credit programming assignment
Homework #0x given.
- January 20: Object-oriented programming and Java, part 1
(based on chapter 5 of text);
Homework #1 assigned
(available 6pm).
- January 22: Object-oriented programming and java, part 2
(based on chapter 6 of text, not including inner classes).
- January 27: Example programs. Source code and sample output
is available; see Sample programs.
- January 29: Review/clarification of some topics previously
covered (argument passing, abstract classes versus
interfaces, etc.); an introduction to the Java Core API
(selected topics from chapters 7 and 9 of the text).
Because some review material did not come from the text
and attendance was down,
partial notes are available;
see Class notes and other documents.
Source code for the clone() example is available;
see Sample programs.
- February 3: Homework #2;
review of some core classes
(Vector, Hashtable -- chapter 9 of the text);
nested classes (from chapter 6 of the text, to be continued
next time).
Source code for the example nested-class programs is available;
see Sample programs.
- February 5: More hints for
Homework #2;
nested classes (from chapter 6 of the text, continued from
last time and completed);
examples of using StringTokenizer and some formatting
classes.
Source code for longer versions of these examples is
available;
see Sample programs.
- February 10: Input/output in Java, part 1 (from chapter 10
of the text, looking at the internals of Input.java as
an example).
- February 12: Input/output in Java, revisited/continued.
See Sample programs for
expanded versions of code examples.
- February 17: Input/output in Java, continued.
See Sample programs for
expanded versions of code examples.
Homework #3
assigned.
- February 19: Introduction to threads (discussed in chapter 8,
though the lecture was based on another text).
See Sample programs for
expanded versions of code examples.
Also, hints for
Homework #3.
- February 24: Threads, continued (discussed in chapter 8,
though the lecture was based on another text).
See Sample programs for
expanded versions of code examples.
- (No lecture February 26; midterm exam.)
- March 3: Threads, continued.
See Sample programs for
expanded versions of code examples.
- March 5: Post-exam discussion of midterm;
an introduction to the Java AWT (from chapter 13 of the
text).
See Sample programs for
expanded versions of code examples.
- No lectures March 10 and 12 -- spring break!
- March 17: The Java AWT, continued (from chapter 13 of
the text).
See Sample programs for
expanded versions of code examples.
- March 19: The Java AWT, continued (from chapters 13 and 14
of the text).
See Sample programs for
expanded versions of code examples.
Homework #4
assigned (March 20).
- March 24: The Java AWT, continued (from chapters 14 and 15
of the text).
See Sample programs for
code examples not discussed in class.
- March 26: The Java AWT, continued (from chapter 14 of the text).
See Sample programs for
code examples, both those discussed in class and additional
examples.
- March 31: The Java AWT, continued (from chapter 16 of the text).
See Sample programs for
code examples, both those discussed in class and additional
examples.
- April 2: No class; instructor ill.
- April 7: The Java AWT, continued (from chapter 16 of the text).
See Sample programs for
code examples, both those discussed in class and additional
examples.
Homework #5 assigned.
- April 9: The Java AWT, continued (from chapter 16 of the text).
Applets (from chapters 3 and 13 of the text).
Networking (from chapters 11 and 12 of the text).
See Sample programs for
code examples, both those discussed in class and additional
examples.
- April 14: Java and networking, more examples (from chapter 11
of the text).
See Sample programs for
code examples.
- April 16: Java and networking, more examples (from chapter 11
of the text).
Also a few words about garbage collection and finalize()
methods (from chapter 5).
See Sample programs for
code examples.
- April 21: Review for final.