Q. Which Ruby module is commonly used to implement the Singleton design pattern?

  • (A) Kernel
  • (B) Module
  • (C) Factory
  • (D) Singleton
πŸ’¬ Discuss
βœ… Correct Answer: (D) Singleton

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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