有关JDBC说法正确的是
A Connection con = new Connection(url,user,password);
B Connection con = DriverManager.getConnection(url,user,password);
C Connection con = Class.forName(url,user,password);
D Connection con = new Connection.getConnection(url,user,password);
conn=DriverManager.getConnection(URL,"root","123123");
选B