IT 114: Introduction to Java
Class 28

Topics

Review

New Material

Homework 9

Homework 9 is due this Sunday at 11:59 PM.

You will find the assignment here.

If you have a problem or a question, make a post on the Class Discussion Area.

Review

The Implicit Parameter

Mutators and Accessors

Classes for Other Programs To Use

A New Version of distance_from_origin

Refactoring

Do No Harm

New Material

Printing Objects

The toString Method

Always Create a toString Method

Constructors

Constructor for Point

Classes Without Constructors

Common Programming Error: Using void with a Constructor

Common Programming Error: Redeclaring Fields in a Constructor

The Keyword this

Class Quiz

Attendance

Class Exercise