Qualcuno saprebbe aiutarmi???
Questo è il codice:
In che cosa sbaglio??class eser
{
public static void main(String args[])
{
Date d = new Date();
String mesi[] = new String[12]
String giorni[] = new String[7];
giorni [0] = "Lunedì";
giorni [1] = "Martedì";
giorni [2] = "Mercoledì";
giorni [3] = "Giovedì";
giorni [4] = "Venerdì";
giorni [5] = "Sabato";
giorni [6] = "Domenica";
mesi [0] = "Gennaio";
mesi [1] = "Febbraio";
mesi [2] = "Marzo";
mesi [3] = "Aprile";
mesi [4] = "Maggio";
mesi [5] = "Giugno";
mesi [6] = "Luglio";
mesi [7] = "Agosto";
mesi [8] = "Settembre";
mesi [9] = "Ottobre";
mesi [10] = "Novembre";
mesi [11] = "Dicembre";
System.output.println("Oggi è:"+ giorni[d.getDay()]
+"e sono le ore" + d.getHours()+ ":"
+ d.getMinutes());
System.output.println("Siamo nel mese di"
+mesi[d.getMonth()] + "nell'anno"
+(d.getYear()+1900));
}
}
Allego l'errore
Grazie a tutti in anticipo!!!