SE450: The SINGLETON Pattern [35/55] Previous pageContentsNext page

Context

  1. All clients need to access a single shared instance of a class.
  2. You want to ensure that no additional instances can be created accidentally.

Previous pageContentsNext page