McqMate
Q. |
You want all the clients using class A to use the same instance of class A, what should you do to achieve this goal? |
A. | mark class a final |
B. | mark class a abstract |
C. | apply the singleton pattern to class a |
D. | apply the memento pattern to class a |
Answer» C. apply the singleton pattern to class a |
View all MCQs in
Software Design Modeling (SDM)No comments yet