Deutsche Telekom Interview Question

Questions related Singleton class, how one can break it, how to improve upon its design

Interview Answer

Anonymous

Nov 3, 2025

Instead of hardcoding singletons, use a DI framework like Hilt or Dagger. That gives you singleton scope but with better lifecycle control and testability.