Review Java code that reads from a file and identify the problem. Follow-up - how should it be fixed?
Anonymous
Look for IOExceptions that could result in the file not being closed properly. Wrap it in a try catch finally.
Check out your Company Bowl for anonymous work chats.