|
We will add to our
RobotHQ from a previous lab
(including its Robot.java and Song3.java),
adding one more field,
The president and secretary are not (necessarily) regular
Write a method
That is,
a
Of course, you should call your new constructor from above.
Hint: By being clever, we can do this in one line, calling the above methods.
The following are things we'll talk about more in future lecture/labs.
This page licensed CC-BY 4.0 Ian Barland Page last generated | Please mail any suggestions (incl. typos, broken links) to ibarlandradford.edu |