package com.ayang.jdbc; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.sql.Statement; public class TestDML { public static void main(String[] args) { Connection conn = null; Statement stmt = null;…