a) write the uml class diagram for the design used in the above code. include multiplicity, attributes and operations. b) what design pattern is at work in this application? analyze the intent of the pattern and look at how objects interact. explain your answer in detail.