Which statement is correct if we want to connect the Oracle database using the thin driver provided by Oracle Corp.?
1.getConnection("jdbc::thin@localhost:1521:oracle", "scott", "tiger");
2.getConnection("jdbc:thin@localhost:1521:oracle", "scott", "tiger");
3.getConnection("jdbc::thin@localhost:1522:oracle", "scott", "tiger");
4.getConnection("jdbc::oracle@localhost:1521:thin", "scott", "tiger");
Posted Date:-2022-01-18 06:58:46