Interviewer And Interviewee Guide

JDBC Interview Question:

How can you make the connection using JDBC?

Submitted by: Administrator
In establishing a connection is to have the appropriate driver connect to the DBMS. The following line of code illustrates the general idea:

E.g.
String url = “jdbc:odbc:Fred”;
Connection con = DriverManager.getConnection(url, “Fernanda”, “J8”);
Submitted by: Administrator

Read Online JDBC Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.