• 2022-06-16
    7、Java访问数据库前需要加载数据库驱动,能正确加载MySQL数据库驱动的是( )。
    A: DriverManage.getConnection("","","");
    B: Class.forName("com.mysql.jdbc.Driver");
    C: DriverManage.getConnection("","","").createStatement();
    D: DriverManage.getConnection("","","").PreparedStatement("");