Skip to content

Jan 30: Writing a Class

Learning Objectives

After today’s class, you should be able to:

  • Interpret a UML class diagram and stub out the corresponding code.
  • Implement constructors, accessors, mutators, equals, and toString.
  • Write a test program that calls non-static methods of another class.

Lesson Outline

Notes [5 min]

Lab03 [45 min]

Your To-Do List

  • Submit Lab 3 by the end of Sunday (Mon 8am)
  • TA Hours: Sunday 3pm–9pm in King Hall 248
  • Finish Week 2 reading; get started on Quiz 3