Java OOP GUIDE / WORK DIGITS CLASS Topics
Source
TASK –
PART 1 – SETUP – DIGITS CLASS STARTER CODE Copy
and paste the following starter code to your IDE. A toString() method has been added for
testing convenience.
TASK –
PART 2 – WORK Click
here for a PDF containing the work that
you must do. Do
both Part A and Part B in the Question. TASK –
PART 4 – TESTING YOUR CLASS Copy
and paste the following code that will test your Digits class. Note that the program below matches the
examples from the questions so you should compare your results with the
results in the examples. You should
also consider adding your own tests.
|
||
|