graphic with four colored squares

Agenda

Classes and Methods

Interfaces and Generics

Interfaces

Generics

Iterator and Iterable

Using Iterator and Iterable

User Input

File Input

File Output

An Exercise

Solution to Exercise

Threads

Basic Threads Example

Mutual Exclusion

Mutex Example

ArrayBlockingQueue

Producer/Consumer with ArrayBlockingQueue

Tips