Salve ragazzi
ho uno errore nelle seguenti righe di codice:
private static Vector vettore1;
vettore1 = new Vector();
public static void add(Object x) {
vettore1.add(x);
}
l'errore è il seguente:
warning: [unchecked] unchecked call to add(E) as a member of the raw type java.util.Vector
vettore1.add(x);
^
1 warning
Cosa sbaglio??
Ciao![]()