What is the Singleton design pattern in Java?
A Singleton class in Java creates a global object that can be accessed from anywhere in the program.
You're on the right track! However, Singleton doesn't always create a global object, but rather ensures there is only one instance.
Could you clarify the difference between a Singleton pattern and a globally accessible object?