Re: difference between class with static method and singleton pattern
Posted By:
Vishal_Gandhe
Posted On:
Tuesday, February 11, 2003 04:13 AM
I think using static methods has some disadvantages as compared to singleton pattern, some of those are,
- You have to hard code the class name with all the method calls that may reduce ur abstraction.
- You can not use static methods to provide the implementation of the interfaces.
VG