MCQOPTIONS
Saved Bookmarks
| 1. |
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» E. | |