Text: Yes, UML
Choose ONLY 5 Questions to Answer.
Question 1: (3 Points)
a) Give an example to draw the UML class diagram for the design pattern that allows you to define a simple class and add functionality incrementally (write the name of the design and draw the UML class diagram). (1.5 points)
b) Write the code of the above design pattern (only the code that is related to the design pattern) (1.5 points)
Question 2: (3 Points)
Change the following UML class diagram to implement the Facade Design Pattern, and then write the code for the Facade class.
ClassC
operationC0
Client
ClassA
operationA()
ClassB
ClassA1
ClassA2
operationB0
operationA()
operationA0
public void ClassFacade