bcoz u cant keep reinitializing the same object On 5 September 2011 22:15, Neha Singh <[email protected]> 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
