1
Answer

Which 1 we should prefer from this 2 lines

con.dispose()
con.close()

here con is a obj of sqlconnection

Answers (1)