The first thing to do is get your code to compile ... which this won't:
private static String [] =new String [] {
"Jan" , "Feb" , "March" , "Apr" , "May" , "Jun" , "Jul" , "Aug" , "Sep"
,"Oct" "Nov" , "Dec"
};
Remember back to your early lessons in Java, and you'll recall that the format for declaring a variable is pretty simple:
<access modifier> <static if needed> <type> <variable name> = <initial value>;
For example:
public int maxItems = 10;
Or
private static string prompt = "Enter your name: ";
Your line is missing the
<variable name>
part between the "[]" and the "=".
You also need a comma between "Oct" and "Nov"
Try this:
private static String [] monthNames = new String [] {
"Jan", "Feb", "March", "Apr", "May", "Jun", "Jul", "Aug", "Sep"
, "Oct", "Nov", "Dec"
};
And it should at least compile.
Then all you need to do is access the names using the month number (starting with January as zero) like any other array.
string textMonth = monthNames[Date.i2s(getMonth)];