...

/

Challenge: Singleton Pattern

Challenge: Singleton Pattern

In this challenge, you have to implement the singleton pattern to solve the given problem.

Problem statement

In this challenge, you have to implement a configuration that uses the singleton pattern. You are given a class ConfigureVals. Define it as follows:

  • It should have a constructor that defines the properties xpoint, ypoint, and ...