Write a class MonthConverter
that has an instance variable months
that is a String
array with the names of the 12 months (each in English, with an initial capital letter) stored in it. The intToString()
method takes an integer value 1-12 as a parameter, and returns the String
value of the appropriate month.