1z0-819 Exam QuestionsBrowse all questions from this exam

1z0-819 Exam - Question 84


Assuming the user credentials are correct, which expression will create a Connection?

Show Answer
Correct Answer: AB

To create a connection using JDBC, the URL must follow a specific format: 'jdbc:<subprotocol>:<subname>'. Option B follows this format correctly with 'jdbc:derby:com'. The other options either do not follow this format or are missing necessary parameters, thus they will not correctly create a Connection.

Discussion

5 comments
Sign in to comment
StavokOption: B
Jul 18, 2023

B is correct

tmuralimanoharOption: B
Jun 29, 2023

Answer: B

belal97Option: B
Jul 13, 2023

B is correct

d7bb0b2Option: B
Dec 10, 2023

B IS CORRECT BECAUSE ASSUMING CREDENTIALS IS OK

ASPushkinOption: B
Jul 4, 2024

answer : b the format of a JDBC URL is jdbc:<subprotocol>:<subname>