bcoz u cant keep reinitializing the same object On 5 September 2011 22:15, Neha Singh <neha.ndelhi.1...@gmail.com> wrote:
> Guys hv a doubt, plz clarify .. > You mentioned that if a class has a private constructor then the object of > that class can be created using call to a static method which internally > calls the constructor and returns its reference. I can't understand why only > 1 object can be created as mentioned by you. As in, we can call the static > method multiple times and create multiple objects.. > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- regards Pratima :) -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.