A)
->By calling executeUpdate() or executeQuery() method on PreparedStatement object, SQL statement is submitted to the DBMS (similar method of the statement).
In a place of values “?”symbol is kept in the SQL statement is called place holder.
Ex:
int re = ps1.executeUpdate();
ResultSet rs = ps4.rexecuteQuery();
Comments
Post a Comment