we usually open a connection by con.open() and close the connection by con.close().when we create a method like,
public void conopen()
{
if(connectionstate.open)
con.open();
con.close();
}
what is basically the use of this method..??...why we create this method when we have co.open() and con.close();