Show List
Quiz - JDBC - 1
Select the right answer for below questions:
What is JDBC?
Java Development and Build System
Java Database Connectivity
Java Debugging Console
Java Design Patterns
Java Database Connectivity
Which of the following is not a component of JDBC API?
Driver Manager
Connection
Statement
Graphics
Graphics
What is the use of Connection interface in JDBC?
To execute SQL statements
To connect to the database
To store result set
To store metadata
To connect to the database
What is the purpose of Statement interface in JDBC?
To execute SQL statements
To connect to the database
To store result set
To store metadata
To execute SQL statements
What is the use of ResultSet interface in JDBC?
To execute SQL statements
To connect to the database
To store result set
To store metadata
To store result set
What is the use of DriverManager class in JDBC?
To load the JDBC driver
To connect to the database
To store result set
To store metadata
To load the JDBC driver
What is the use of PreparedStatement interface in JDBC?
To connect to the database
To store result set
To execute precompiled SQL statements
To store metadata
To execute precompiled SQL statements
What is the use of CallableStatement interface in JDBC?
To connect to the database
To execute stored procedures
To store result set
To store metadata
To execute stored procedures
What is the use of DatabaseMetaData interface in JDBC?
To execute SQL statements
To connect to the database
To store result set
To store metadata about the database
To store metadata about the database
What is the use of SQLException class in JDBC?
To connect to the database
To store result set
To handle SQL exceptions
To store metadata
To handle SQL exceptions
Submit
Retry
{"qz1-495919":"Java Database Connectivity","qz1-495920":"Graphics","qz1-495921":"To connect to the database","qz1-495922":"To execute SQL statements","qz1-495923":"To store result set","qz1-495924":"To load the JDBC driver","qz1-495925":"To execute precompiled SQL statements","qz1-495926":"To execute stored procedures","qz1-495927":"To store metadata about the database","qz1-495928":"To handle SQL exceptions"}
Leave a Comment