Pregunta de entrevista de GE

Review Java code that reads from a file and identify the problem. Follow-up - how should it be fixed?

Respuesta de la entrevista

Anónimo

28 ago 2015

Look for IOExceptions that could result in the file not being closed properly. Wrap it in a try catch finally.