单项选择题

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

A. GridLayout
B. CardLayout
C. BorderLayout
D. FlowLayout