0% found this document useful (0 votes)
931 views1 page

JDBC Questions Bank 2020

JDBC is a Java API that allows Java programs to connect to and interact with databases. It uses drivers to establish connections between Java programs and databases. The document lists 9 questions about JDBC architecture, driver types, connection steps, prepared statements, result set objects, differences between result set and result set metadata objects, driver manager, statement, and connection objects and their methods. It also lists methods like Class.forName(), executeQuery(), executeBatch(), execute(), and close().

Uploaded by

Nishant Sawant
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
931 views1 page

JDBC Questions Bank 2020

JDBC is a Java API that allows Java programs to connect to and interact with databases. It uses drivers to establish connections between Java programs and databases. The document lists 9 questions about JDBC architecture, driver types, connection steps, prepared statements, result set objects, differences between result set and result set metadata objects, driver manager, statement, and connection objects and their methods. It also lists methods like Class.forName(), executeQuery(), executeBatch(), execute(), and close().

Uploaded by

Nishant Sawant
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

T.Y.BSc(I.

T) SEM-V Enterprise Java

Java Database Connectivity(JDBC) Question Bank


1) What is JDBC? Draw and explain JDBC architecture?
2) List and explain types of drivers available JDBC?
3) List and explain seven steps used to connect with JDBC?
4) Explain PreparedStatement with example?
5) Write a short note on
a. ResultSet Object
b. ResultSetMetaData Object.
6) Differentiate between ResultSet and ResultSetMetaData object.
7) Explain the following.
a. DriverManager Object
b. Statement Object
c. Connection Object
With syntax and example.
8) Explain statement object with its five methods.
9) Explain the following.
a. Class.forName()
b. executeQuery()
c. executeBatch()
d. execute()
e. close()

Prof. Ansari Mohd. Shahid ([email protected]) Mob. 7977-079-345/ 9821-77-1054

You might also like