What is the Execute method in Java?
The method is used for executing a query. It returns true if the ResultSet object is the query return. It returns one ResultSet object.
Int m = st.executeUpdate(sql);
System.out.println (“inserted successfully: “+sql);
System.out.println (“insertion failed”);