单项选择题

在访问数据库时,为建立实际的网络连接,把URL、数据库用户名和密码传给DfiverManager的方法是 ( )。

A.getconnection()
B.getConnection()
C.Connection()
D.connection()