Classes and Properties Lab

Maya

Life is pure adventure, and the sooner we realize that, the quicker we will be able to treat life as art. -Maya Angelou

Overview

In this lab, you will create some classes, along with properties and methods for those classes. You will see how these classes can interact with each other to do something useful.

Directions

This lab has been written in the Classes.playground file that accompanies this repository. Open Classes.playground to get started. You will see some directions and tasks you need to complete. Areas marked // write your code here need to be filled in by you. Tests have been included in the form of assert() statements. Do not change any of the test code! When you first open up the playground, it will have a number of errors, but as you work through the lab, the errors should disappear. When there are no more errors, you have successfully completed the lab.

Good luck!

View this lesson on Learn.co