Link Search Menu Expand Document

Week 6: Classes & Objects in Java

This week, we will learn how to create classes using three basic parts: instance variables, constructors, and instance methods. We will also learn how to instantiate different objects.

Table of contents
  1. Slides
  2. Zoom Recording
  3. Classwork
  4. Homework
  5. Check-In
  6. Extra Reading

Slides

You can find the link to the slides presentation here.

Zoom Recording

Below is the zoom recording for Week 6.

Classwork

You can find the two classwork exercises we did here. If you want to compare your answers, view the classwork solutions for the Point and Book classes. You do not have to submit classwork anywhere.

Homework

You can find the homework exercises here. Please submit your java file by Thursday, March 4th to hhrd.compsci@gmail.com.

If you want to compare your answers, you can view the homework solutions for the Player class and Platform class. Solutions to the optional homework will be posted soon.

Check-In

Here is the link to the short quiz.

Extra Reading

If you want to practice what we learned and learn more about Java outside of class, look at the readings below:

  1. Classes & Objects (Review)
  2. toString() Method
  3. .equals() vs ==
  4. Overriding .equals()
  5. Multiple Constructors
  6. Inheritance

Back to top

Copyright © 2019-2021 Helping Hand for Relief & Development.