Home » Archive

Articles tagged with: code

Written By: techieDan on March 15, 2011 One Comment

How can you try and catch and error and avoiding code redundancy in Java 7. With Java 7 still in beta mode, there are more upgrades to this amazing programming language.

Tags: [, ]
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