What problem does the Singleton design pattern solve?
Answer options
A
It allows creating multiple instances of a class
B
It ensures a class has only one instance and provides a global access point to it
C
It converts one interface to another
D
It separates object construction from its representation
Correct answer: It ensures a class has only one instance and provides a global access point to it
Explanation
Quick AnswerThe correct answer is It ensures a class has only one instance and provides a global access point to it because it directly addresses the core logic of Software Engineering.
This question has been retained as-is due to its unique context.