[General boards] [Winter 2019 courses] [Fall 2018 courses] [Summer 2018 courses] [Older or newer terms]

April 2018 Q4b


#1

In this question it says what what classes were built in order to put in the new design pattern. But if instead my design pattern is Path’s constructor gets passed in two locations instead of creating them, would I just say Path’s constructor was changed or would I have to say a new dependency injection class was created?


#2

You would say that a new class was created if you create an Iterator or a Factory class. But for dependency injection, you just describe the changes you made to existing classes.

On the exam, if you are not sure of something like this, please ask.