When I don't need to use instances of those ResultSet and Connection anymore in my program, why should I call the .close() method on both of them ?
What are the dangers (if any) of not doing so ?
When I don't need to use instances of those ResultSet and Connection anymore in my program, why should I call the .close() method on both of them ?
What are the dangers (if any) of not doing so ?