This is a fairly simple question, but I'm curious if it is standard to always close things like Scanner before the application exits.
For example, if I always want Scanner searching for next input in my application- if the application is closed should I close the Scanner object before exiting the application?