(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 subject that interests you to go to where it was discussed.