题目内容
下面代码中,会抛出哪个类型的异常。()public class test{private static final String DRIVER=”com.mysql.jdbc.Driver”;private static final String URL=”jdbc:mysql://localhost:3306/db_database15”;private static final String USERNAME=”root”;private static final String PASSWORD=”111”;public static void main(String[] args){Class.forName(DRIVER);Connection conn=DriverManager.getConnection(URL,USERNAME,PASSWORD);}}
查看答案
搜索结果不匹配?点我反馈