IT 114: Introduction to Java
Class 27

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

Writing Better Programs

Object Oriented Programming

Objects and Values

Classes and Objects

Point Objects

Defining a Class

Fields

New Material

The Implicit Parameter

Mutators and Accessors

Accessors for Point

Another Point Accessor

Another Mutator Method

Classes for Other Programs To Use

Finding the Distance Between Two Points

A New Version of distance_from_origin

Refactoring

Telling Whether Two Point Objects Are the Same

Do No Harm

Class Quiz

Attendance

Class Exercise