Thread
:
Best practice of IF loop with NOT
View Single Post
#
1
(
permalink
)
05-28-2008, 05:39 AM
sathishranganathan
Member
Join Date: May 2008
Posts: 1
Best practice of IF loop with NOT
Hi,
Please suggest me the best practice of using if loop with 'NOT' condition.
For example:
if (rs != null){rs.close();}
if (rs == null){} else{rs.close();}
Which of the above is optimised?
Thanks in advance
Sathish
Sponsored Links
sathishranganathan
View Public Profile
Send a private message to sathishranganathan
Find all posts by sathishranganathan