jdbc1可以使用ClassforName 代码加载mysql的驱动2PreparedStatement提供的更新数据库的方法是 3PreparedStatement提供的查询数据库的方法是 4executeQuery方法的返回类型是 5jdbc中的占位符的符号是 6JDBC中查询方法的返回值类型是 7要确保连接关闭需要将代码写在 代码块中8executeUpdate方法的返回类型是 9判断结果集
- 是的,可以使用。
- executeUpdate()方法。
- executeQuery()方法。
- ResultSet类型。
- 问号(?)。
- ResultSet类型。
- finally代码块中。
- int类型,表示受影响的行数。
- next()方法。
- getConnection()方法。
原文地址: https://www.cveoy.top/t/topic/g5vi 著作权归作者所有。请勿转载和采集!