What is Calendar class in Java?

 
 

Share on Google+Share on Google+

Java Coder
What is Calendar class in Java?
1 Answer(s)      8 months ago
Posted in : Java Beginners
Ads

Hi,

What is Calendar class in Java? I want to learn about this class to make use of it in Java programs.

Thanks

Ads
View Answers

April 16, 2017 at 10:30 PM


Hi, java.util.Calendar is an abstract class in Java and its static method Calendar.getInstance() returns an instance of java.util.GregorianCalendar.

This class is used for various date processing activities in Java.

You can find tutorials at Calendar tutorial page.

Thanks


Ads









Ads

 
Advertisement null

Ads