Escribe los datos en el archivo mediante el método ".writeObject()".
RESULTADO:
Se han creado los datos y guardado en el archivo correspondiente