Statement对象描述正确的是哪些?(5分)
A, C和D是正确的描述。\nA. 在一个Connection中,可以存在多个Statement对象。每个Statement对象用于执行一个SQL语句。\nC. Driver可以创建Statement对象。Driver是一个Java接口,用于连接Java应用程序和数据库。通过DriverManager类的getConnection()方法,可以获取到Driver对象,并通过Driver对象创建Statement对象。\nD. DriverManager创建Statement。DriverManager是一个Java类,用于管理多个数据库驱动程序。通过DriverManager类的getConnection()方法,可以获取到一个Connection对象,然后通过Connection对象创建Statement对象。
原文地址: https://www.cveoy.top/t/topic/pZ32 著作权归作者所有。请勿转载和采集!