31: how to update the database through PreparedStatement object. import java.sql.*; public class PreparedUpdateEx { public static void main(String[] args)throws Exception { Class.forName(“sun.jdbc.odbc.JdbcOdbcDriver”); Connection con = DriverMadoeer.getConnection(“jdbc:odbc:doe”,”system”,”jhon”); PreparedStatement pst = con.prepareStatement(“update emp1 set esal = esal+? Where esal<?”); Pst.setInt(1,500); Pst.setFloat(2,10000.0f); Int count = pst.executeUpdate(); System.out.println(“no. of records updated:”+count); } } 32: how to fetch the data from database through PreparedStatement object. import java.sql.*; public class UpdateResEx { public static void main(String[] args)throws Exception { Class.forName(“sun.jdbc.odbc.JdbcOdbcDriver”); Connection con = DriverMadoeer.getCon