tabla de hash: problema con put(..) import java.util.Hashtable.*;
Hashtable tabla= new Hashtable();
tabla.put("pais","Mexico");
el error es:
Note: Prueba.java uses unchecked or unsafe operations
Note: Recompile with -Xlint: unchecked for details
En los ejemplos de internet, con sólo llamar al método put ya funciona
AYUDA! |