Welcome to the CSC Q&A, where you can get help (and share your knowledge) about computer science!

I am not sure about HW problems 3 and 14 from chapter 8.

+12 votes
asked Oct 17, 2016 in CSC 285 (F16) by Eric Sheidler (100 points)

1 Answer

+3 votes

Hints:

For problem 8.3, think about whether any information about the change/event that occurred is passed from the subject to the observer.

For 8.14, think about whether Rectangle objects are mutable or immutable, and what client code should be allowed to do, in terms of affecting data inside of Figure objects.

 

answered Oct 20, 2016 by Forrest Stonedahl (3,308 points)
...