IT 114: Introduction to Java
Class 26

Topics

Review

New Material

Homework 8

Homework 8 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.

Tips and Examples

Review

Other ArrayList Methods

The add(value) Method

The add(index, value) Method

The clear() Method

The get(index) Method

The remove(index) Method

The set(index, value) Method

The size() Method

ArrayList Search Methods

The contains(value) Method

indexOf(value) Method

lastIndexOf(value) Method

Writing a Method to Read in Files

Stopping Execution of a Loop

The break Statement

The continue Statement

The switch Statement

New Material

Writing Better Programs

Object Oriented Programming

Objects and Values

Classes and Objects

Point Objects

Defining a Class

Fields

Defining a Point Class

Adding Methods to Our Point Class

Class Quiz

Attendance

Class Exercise