exam questions

Exam 1z0-819 All Questions

View all questions & answers for the 1z0-819 exam

Exam 1z0-819 topic 1 question 84 discussion

Actual exam question from Oracle's 1z0-819
Question #: 84
Topic #: 1
[All 1z0-819 Questions]

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

  • A. DriverManager.getConnection("http://database.jdbc.com", "J_SMITH", "dt12%2f3")
  • B. DriverManager.getConnection("jdbc:derby:com")
  • C. DriverManager.getConnection("jdbc.derby.com")
  • D. DriverManager.getConnection()
  • E. DriverManager.getConnection("J_SMITH", "dt12%2f3")
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
ASPushkin
5 months, 3 weeks ago
Selected Answer: B
answer : b the format of a JDBC URL is jdbc:<subprotocol>:<subname>
upvoted 1 times
...
d7bb0b2
1 year ago
B IS CORRECT BECAUSE ASSUMING CREDENTIALS IS OK
upvoted 1 times
...
Stavok
1 year, 5 months ago
Selected Answer: B
B is correct
upvoted 2 times
...
belal97
1 year, 5 months ago
Selected Answer: B
B is correct
upvoted 1 times
...
tmuralimanohar
1 year, 6 months ago
Answer: B
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago