Technical University of Denmark DTU
02115   Java Programming
Autumn 2011

Week plan #3

For the week   12. September - 16. September


Preparations for the week

As stated on the first page of Chapter 5 (page 128): You should be aware of that this is not a chapter to be read and understood in a single day, but that it contains several sections that deserve a few days of study each on their own.

A short summary of the development of the three TechSupport variants all having the same class structure:



Chapter 6 of the BK textbook is dedicated to testing, which is stated in the title of the chapter as Well-behaved objects

Section 6.11 (page 199) is about Debuggers. If you have not previously worked through section 3.13 (page 79) then do it as part of the preparations for this week.

Chapter 7 is about designing classes: What makes a class design either good or bad ?


As a minimal preparation to this week study the Chapters 6 and 7 of BK to the following extent:

  1. Chapter 6: 6.1 - 6.4.2; pages 169-182:
  2. Chapter 7: 7.1 - 7.3; pages 201-205:


The lectures

We will cover selected parts of the textbooks, primarily the following parts of BK
  - Chapter 6, pages 169-200
  - Chapter 7, pages 201-240



Exercises at the PC's

Exercises are taken solely from the BK textbook. Either choose the exercises below or visit the section After the lectures in a search for more challenges:

After the lectures

The lectures has not covered all details of the chapters 6 and 7 of BK. Work through the missing parts and do the exercises missed at the exercise class, refer to the section above, with the supplements mentioned below as a minimum.

At the end of this week you are supposed to be familiar with the following parts of the BK textbook:



In the PS textbook read the following sections:
Jens Thyge Kristensen, Email: jtk@imm.dtu.dk

Newest edition:   5. September
Previous editions:
    -   8. April (just the heading and footing)