Mark As Completed Discussion

Let's test your knowledge. Click the correct answer from the options.

Which design pattern is used to ensure that only one instance of a class is created throughout the runtime of the application?

Click the option that best answers the question.

  • Singleton pattern
  • Factory pattern
  • Prototype pattern
  • Builder pattern