Hello,
Can anyone help me on how to create Static factory Methods?
I know that Calendar and DateFormat class from
Java API use Static Factory implementation.
But I am not really sure how implementation should go as I have read that Static Factory implementation avoids creation of objects multiple times.
How to really achieve that.
So can you please explain with an example.
Thanks,
Sumukh.