Q.

To implement the Singleton design pattern specify all the needed steps ............

A. add final modifier to the class declaration
B. add private or protected modifier to the constructor declaration
C. introduce a static getter method for the singleton instance
D. all of above
Answer» D. all of above
1.9k
0
Do you find this helpful?
1

Discussion

No comments yet