title: JDBC connection- Class.forName vs Class.forName().newInstance?
body: <p>Was wondering why both <code>Class.forName("com.mysql.jdbc.Driver");</code> and <code>Class.forName("com.mysql.jdbc.Driver").newInstance();</code> work when i use them to connect to a database. By right, isn't the former not supposed to work, since no new instance was created. And yet, it still works. Im using netbeans 6.9.1. Thanks for your input!</p>