Java OOP GUIDE / WORK BOOK CLASS Topics
TASK –
PART 1 – PAGE CLASS SETUP a)
Copy and paste the Page class below into your IDE. b)
Analyze the code to understand how this class works. Note that we could have added get and set
methods but chose to keep things simple.
TASK –
PART 2 – TESTING THE PAGE CLASS Copy
and paste the following PageTester class and test the
Page class to see how it works.
|
||
TASK –
PART 3 – BOOK CLASS Copy
and paste the following Book class and complete it.
TASK –
PART 4 – BOOKTESTER CLASS Copy
and paste this class in order to test your Book class code.
|