Suppose I define a new class, say PhoneBook. I do the following:
Phonebook x = new Phonebook() Phonebook x1=x Phonebook x2=x ... Phonebook x99 =x then this won't consume much memory will it since all the 100 variables are pointing to the same phonebook?
Thanks