sreenath205
Programmer
Hi All,
I know the title of the post does not make much sense, I am sorry for that.
The question i have is consider this piece of code
Code:
Connection mConnection = null;
mConnection = getConnection(); //This is a private method whic returns a connection object
Now consider this
Connection mConnection = getConnection();
Which is the best approach and if possible please give a small explanation/pointers/links why it is the best??
Thanks
Sreenath M