The 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.
The important methods of Statement interface are as follows:
Let’s see the simple example of Statement interface to insert, update and delete the record.
A11 Acharya Niketan
Mayur Vihar 1
Near MayurVihar Metro Station