This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Ok, I have a question about Calling and Returning Objects. I am using a Connection example that I am doing, but this question really isn't about JDBC.
Now I am going to grab this connection from another Class
Now for my question. When I close the Connection I grabbed from Foo, is that closing THE connection from Foo or is that closing a different connection and so I will have some lingerning open connection I don't know about?