Statement interfaceThe Statement interface provides methods to execute queries with the database. The statement interface is a factory of ResultSet i.e. it provides factory method to get the object of ResultSet. Commonly used methods of Statement interface:The important methods of Statement interface are as follows:
Example of Statement interfaceLet’s see the simple example of Statement interface to insert, update and delete the record.
Next TopicResultSet Interface
|