title: How to store a reference of a singleton class?
body: <p>I am working on a project relating to a dealer dealing cards to players.<br>
  I have the singleton class <code>Dealer</code> and another class called <code>Player</code>.  </p>
  
  <p>I have made the <code>instance()</code> method for <code>Dealer</code> and this part is where I am confused: </p>
  
  <p>For the singleton <code>Player</code> class, how do I create a private member called <code>dealer</code> that holds a reference to the singleton <code>Dealer</code> instance?</p>