Challenge: Singleton Pattern
In this challenge, you have to implement the singleton pattern to solve the given problem.
We'll cover the following...
We'll cover the following...
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
constructorthat defines the propertiesxpoint,ypoint, and ...