Wanted to know more about Calendar.getInstance()
. I can create Date instance with constroctor, but why not a Calendar instance? Why Calendar
designed to use a factory method and why it has been abstract class.
Please share the reason behind it.
My Question is very simple: If we have new operator on Date class, why not for Calender. what was the idea behind a static method to create instance.
Many Thanks,