20 lines
618 B
Plaintext
Executable File
20 lines
618 B
Plaintext
Executable File
Project: bricks
|
|
Authors: Michael Kölling and David J. Barnes
|
|
|
|
This project is part of the material for the book
|
|
|
|
Objects First with Java - A Practical Introduction using BlueJ
|
|
Sixth edition
|
|
David J. Barnes and Michael Kölling
|
|
Pearson Education, 2016
|
|
|
|
Here is a part of an application for a company producing bricks.
|
|
Bricks are delivered in pallets (stacks of bricks).
|
|
|
|
The Pallet class is supposed to provide methods telling its height
|
|
and weight.
|
|
|
|
There are (at least) four errors in this project. Find them. Fix them.
|
|
Then discuss how you went about finding the errors. What strategies
|
|
did you employ?
|