====== Week 3 ====== ~~NOTOC~~ **Reminders: ** * lab this Friday! * Special guest lecture next Friday! * counts as a lab, * but can't make-up later ===== Objects and Variables ===== * Written HW due today * Based on stack and heap diagrams from Liskov Section 2.3 * //Exercises 2.1, 2.2, and 2.3// ===== Assignment 1 Questions? ===== * Due: this Fri, Feb 8 * Distinction between static (class) methods and dynamic (instance) methods: * static methods invoked on a class name * instance methods invoked on an object reference * Semantics of any of the FSet static methods? * Implementation of ''equals'', ''hashCode'', or ''toString''? * must override implementation from class ''Object'' * these are instance methods * Other questions? ===== Procedural Abstractions ===== * Liskov Ch. 3 * Lecture notes: {{courses:cs203-201301:ch3-procedural-abstraction.pdf|PDF}} * Note: this semester we will use Javadoc comments, rather than Liskov-style Java comments! ===== Exceptions ===== * Liskov Ch. 4 * Lecture notes: {{courses:cs203-201301:ch4-exceptions.pdf|PDF}}