void closeConnection() throws SQLException {
  conn.close();
  stat=null;
  conn=null;
}

void closeConnection ( ) throws SQLException { conn . close ( ) ; stat = null ; conn = null ; }
close the database connection .
