Week 3

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: PDF
  • Note: this semester we will use Javadoc comments, rather than Liskov-style Java comments!

Exceptions

  • Liskov Ch. 4
  • Lecture notes: PDF
courses/cs203-201301/week3.txt · Last modified: 2013/02/04 09:55 by mlsmith
VCCS Top Events Extended Site Search Login Vassar Science Web Vassar Home Driven by DokuWiki Valid XHTML 1.0