G
Guest
Hello All,
I am designing a class based on singleton pattern. Inside this class I have
multiple instance methods. My question is since there will be only one
instance of this class at any instance of time in the whole application there
is no use in having these methods as instance methods I can as well have
static methods....correct?
If I leave these methods as instance methods would they have any wrong
impact on my application?
Thank you for your clarification
I am designing a class based on singleton pattern. Inside this class I have
multiple instance methods. My question is since there will be only one
instance of this class at any instance of time in the whole application there
is no use in having these methods as instance methods I can as well have
static methods....correct?
If I leave these methods as instance methods would they have any wrong
impact on my application?
Thank you for your clarification