Session Details
Week 2,
Session 4 — Tue Mar 11
Reading
-
3.3-3.7
-
4.1
-
First two pages of this intro to UML Class Diagrams
HW Due
-
HW 3
Topics
-
Basics of Java classes: constructors, mutators and accessors, equals, toString, static fields and methods, this, constructors, calling constructors from within a class
-
Javadoc comments and document generation
-
instanceof, class casts
-
Annotations (Override, SuppressWarnings)
Resources
-
Slides
-
PointRectCircle files
Outline
-
[5 min] Announcements
-
[95 min ] Points, Rectangles, Circles demo/exercise (with a break in the middle).
HW Assigned
-
HW 4