Objects to a class
Hi All,
How can I restrict a class to have only one reference or object.
I have created a class and now I am creating objects(references) for this class.
Now I shouldnt be able to create more than one object to this class.
Please clarify my doubt.
Thanks,
Prasad