Lab 7

Connected Classes

This week we’ve added some class to our programs, moving us into the Object-Oriented Programming (OOP) paradigm. Objects are yet another abstraction that we can add to our toolbox. They let us represent distinct entities with their own properties (attributes) and abilities (methods).

In this lab, you’ll be writing your own classes, testing them, and then seeing how we can use them in different applications.

Goals

  • Practice creating your own classes
  • Practice testing your own classes
  • Use classes in two different application domains
  • Work with command line arguments