The GregorianCalendar class describes a point in time, as measured by the Gregorian calendar, the standard calendar

Question:

The GregorianCalendar class describes a point in time, as measured by the Gregorian calendar, the standard calendar that is commonly used throughout the world today.

You construct a GregorianCalendar object from a year, month, and day of the month, like this:

image text in transcribed

image text in transcribed

Your task is to write a program that prints:
• The date and weekday that is 100 days from today.
• The weekday of your birthday.
• The date that is 10,000 days from your birthday.
Use the birthday of a computer scientist if you don’t want to reveal your own.
The GregorianCalendar class is complex, and it is a really good idea to write a few test programs to explore the API before tackling the whole problem. Start with a program that constructs today’s date, adds ten days, and prints out the day of the month and the weekday.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question
Question Posted: