Module: Using Classes

Using & creating single shape classes

Learning Outcomes

Decompose problems into actions and objects

Decompose problems into actions and objects and implement them in the Java programming language. Includes both using objects and creating new classes.

Writing & using classes

Write classes containing fields, methods, and constructors. Using classes by instantiating (i.e., creating) objects.

Work with automated development tools

Using Eclipse to develop Java programs, including:

Readings

Thinking in terms of Classes & Objects

Burd Chapter 7

25 pages

Constructing new objects

Burd Chapter 9

20 pages

Eclipse Tips

Generating getters & setters

Experiential Learning

PHW3

Square Class with Outline

WOD3

Rectangle Class with Outline

Assessments

WOD3: Modifying a class

Outcomes assessed: Writing & using classes

Rx: < 10 min Av: 10-20 min Sd: 20-30 min DNF: 31+ min or incorrect

In this exercise, we updated Rectangle to add support for an outline.