Collin Dugas wrote:
I was asked if a singleton class can be subclassed in any way?
The Singleton design pattern is defined in Design Patterns by Gamma (and others).
Under Consequences it's stated that a Singleton "3. Permits refinement of operations and representation" and that this includes subclassing.
Also under Consequences is another interesting fact. A Singleton "4. Permits a variable number of instances". So not even this commonly held notion that a Singleton must have exactly one object instance is cut in stone. The Singleton definition allows it to vary.
What you can ask of course is whether a certain Singleton implementation has some specific limitations in relation to the Singleton definition.