____________ is a useful design pattern that ensures a class has only one instance.
(a) Modular code
(b) Lossless paradigm
(c) Granular methods
(d) Singleton
This question was posed to me in homework.
Origin of the question is JMock in chapter Testing with Mock Objects of JUnit