Ciao a tutti. Utilizzo eclipse come IDE. Volevo sapere se qualcuno sa spiegarmi questo warning.
mi da questo warningcodice:Vector filesName = new Vector<String>(); String stringa = "Ciao forum di html!"; filesName.addElement(stringa );
Cosa vuol dire "References to generic type Vector<E> should be parameterized"?codice:Type safety: The method addElement(Object) belongs to the raw type Vector. References to generic type Vector<E> should be parameterized
Grazie
----------------------------------------------
L'oggetto Vector va inizializzato così:
-----------------------------------------------codice:Vector<String> filesName = new Vector<String>();
Scusate il disturbo.

Rispondi quotando