Question: Problem 2 A) What are the two software design patterns underlying the Tree interface and its implementation classes called? (circle two) Abstract Factory, Composite, Decorator,
Problem 2
A) What are the two software design patterns underlying the Tree interface and its implementation classes called? (circle two)
Abstract Factory, Composite, Decorator, Strategy
B) Trees with clusters can always be replaced by trees with explicit multiples instead of clusters. True or False?
C) Which is the relevant software design principle for the requirement in the preceding sub problem j? (circle one) Design by Contract, Liskov substitution principle, Moore's Law, Single Responsibility Principle
D) To add another kind of tree (such as a new type of fruit), we msut add the corresponding Tree implementation class. No changes to interface required. True or False?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
