Zebra0.com

java arraysTable of Months and days

Table of Months and days

In thise example we use String.format to print the number of the month using 2 digits, the name of the month using 10 characters left justified, and the number of days using 2 spaces.