Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 2.87 KB

week-6.md

File metadata and controls

59 lines (39 loc) · 2.87 KB
title has_children nav_order
Week 6
false
9

Week 6: Classes & Objects in Java

{: .no_toc }

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. {: .fs-6 .fw-300 }

Table of contents {: .text-delta } 1. TOC {:toc}

Slides

You can find the link to the slides presentation here.

<iframe src="https://docs.google.com/presentation/d/e/2PACX-1vTD8NGCS0SFljBLvJBD-c9ysL_RGK-yTp2L-RzG18uYLVPoCzNgb6xO5YblWXMMPBt9cBq1bJN1bYnz/embed?start=false&loop=false&delayms=3000" frameborder="0" width="560" height="331.92" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe>

Zoom Recording

Below is the zoom recording for Week 6.

<iframe width="560" height="315" src="https://www.youtube.com/embed/bxUs5qxPoc4" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

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 [email protected].

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