Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

JDBC Interview Questions and Answers

Question: How can you make the connection?
Answer: To establish a connection you need to have the appropriate driver connect to the DBMS.
The following line of code illustrates the general idea:
String url = "jdbc:odbc:WithoutBook";
Connection con = DriverManager.getConnection(url, "Username", "Password");
Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook