Which method is overloaded to allow passing a username and password?.
forName()
getConnection()
getStatement()
B.
The DriverManager.getConnection()
method can be called with just a URL.
It is also overloaded to take the URL, username, and password, making Option B correct.