LIVE Course for free

Rated by 1 million+ students
Get app now
0 votes
23 views
in Programming by (24.2k points)
closed by
Which of the following Interface is not supported by JDBC for connecting to Database in Java Programming language?
1. Statement Interface
2. Prepared Statement Interface
3. Callable Statement Interface
4. Database Interface

1 Answer

0 votes
by (24.2k points)
selected by
 
Best answer
Correct Answer - Option 4 : Database Interface

Concept

  • JDBC stands for Java Database Connectivity. JDBC is a Java API to connect and execute the query with the database.
  • It is a part of JavaSE (Java Standard Edition). JDBC API uses JDBC drivers to connect with the database.

List of popular interfaces of JDBC API are given below:

  • Driver interface
  • Connection interface
  • Statement interface
  • PreparedStatement interface
  • CallableStatement interface
  • ResultSet interface
  • ResultSetMetaData interface
  • DatabaseMetaData interface
  • RowSet interface

Hence Option 4 is correct

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...