Session Details
Week 2,
Session 4 — Mon Dec 3
Reading
-
3.3-3.7
-
4.1-4.1.8
-
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 constructors
-
Using the Java API documentation
-
Javadoc comments and document generation
-
overriding and overloading
-
instanceof, class casts
-
instance and static members
-
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