πŸ“Š Software Design Modeling (SDM)
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
πŸ’¬ Discuss
βœ… Correct Answer: (D) all of above

You must be Logged in to update hint/solution

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
470
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
93%
Success Rate