Computer Science, asked by janinandini1310, 1 year ago

how can i make database connectivity with oracle using java

Answers

Answered by Anonymous
3

Answer:

Example to Connect Java Application with Oracle database

import java.sql.*;

class OracleCon{

public static void main(String args[]){

try{

//step1 load the driver class.

Class.forName("oracle.jdbc.driver.OracleDriver");

//step2 create the connection object.

Connection con=DriverManager.getConnection(

Similar questions