요청 내용
“Create an abstract factory UML class diagram for an application that uses light and dark GUI factories to create buttons and checkboxes.”
그렇다면Add a createMenu method to GUIFactory.Add light and dark menu classes.
이 도면에 담긴 내용
그 이면의 의사결정을 읽어 보세요.
01
Use interface-based factories
02
Separate product families into hierarchies
When a system must be independent of how its products are created and families of products are used together.