title: Pointers in Java & memory
body: <p>Suppose I define a new class, say PhoneBook.
  I do the following:</p>
  
  <pre><code>Phonebook x = new Phonebook()
  Phonebook x1=x
  Phonebook x2=x
  ...
  Phonebook x99 =x
  </code></pre>
  
  <p>then this won't consume much memory will it since all the 100 variables are pointing to the same phonebook?</p>
  
  <p>Thanks</p>