+1 vote
in Software Architecture by (75.2k points)
Which of the following is for factory method behavioral characteristic?

(a) Interpreter

(b) Template method

(c) Iterator

(d) None of the mentioned

I had been asked this question during an online interview.

Origin of the question is Exploiting Patterns in Software Architecture topic in section Unit Operations of Software Architecture

1 Answer

0 votes
by (46.2k points)
The correct choice is (a) Interpreter

To elaborate: Interpreter and Template method are for factory method.

Related questions

We welcome you to Carrieradda QnA with open heart. Our small community of enthusiastic learners are very helpful and supportive. Here on this platform you can ask questions and receive answers from other members of the community. We also monitor posted questions and answers periodically to maintain the quality and integrity of the platform. Hope you will join our beautiful community
...