Can anyone tell me wats happening here
Connection con =DriverManager.getConnection(\"connection_url\", \"username\", \"password\");
How connec
I mean con is a connection interface reference which can't point to an object of a class which implements connection interface
Wrong. It can and it must. The actual implementation class is provided by the JDBC driver vendor.