Home » Archive

15 March 2008

Written By: techieDan on March 15, 2008 No Comment

Coding have never been the same!!! Some bad habits when writing codes which are redundant

String[] special = {“a1″,”a2″,”a3″,”a4″};

Connection con = null;

PreparedStatement stmt = null;

PreparedStatement stmt2 = null;

ResultSet rs = null;

ResultSet rs2 = null;

Class.forName (“com.mysql.jdbc.Driver”)

conn = DriverManager.getConnection (url, userName, password);

String [...]

Tags: [, , ]
  Copyright © 2009 TechieDan, All rights reserved.| Powered by WordPress