Corrección syso

This commit is contained in:
sheila-mb28
2026-09-24 18:46:57 +02:00
parent 6361d9ef9f
commit 90009f3c95
+2 -2
View File
@@ -44,8 +44,8 @@ public class Fic02 {
Pais pais = new Pais(id, nombre, capital, continente); Pais pais = new Pais(id, nombre, capital, continente);
System.out.println(pais); System.out.println(pais);
System.out.println("INSERT INTO T_PAIS VALUES (" + continente + ", " + id + ", " + nombre + ", " + capital + ");"); System.out.println("INSERT INTO T_PAIS (cod_continente, identificador, capital, nombre_pais) VALUES "
+ "('" + continente.getCodigo() + "', " + id + ", '" + capital + "', '" + nombre + "');");
} }
} }