Steps used to connect any java application using JDBC - JDBC

Q.  How many steps are used to connect any java application using JDBC?
- Published on 15 Jul 15

a. 5
b. 4
c. 3
d. 6

ANSWER: 5
 

    Discussion

  • Suchit   -Posted on 04 Jan 16
    1.Get connection by DriverManager.
    2.Load and Register Drive(optional).
    3.Create statement.
    4.Execute Statement and Process it.
    5.Close the connection.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)