(Thought Question:) Would it be possible to write a
PointDoubler
class for ImmutablePoint
objects?
No—any such class could not gain access to the instance variables it needs to double.
You have reached the end this chapter. It will be of great value to review the following. Click on a blue subject that interests you to go to where it was discussed. To get back here, click on the "back arrow" button of your browser.