
JDBC
Authored by Srisailam R
Computers
University
Used 84+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
31 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the return type of executeUpdate() method?
byte
short
int
long
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the return type of executeQuery() method?
int
ResultSet
array
none of the above
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
what is the package name of "Class"?
java.util
java.sql
java.lang
java.io
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is true about DriverManager class?
It is class from java.lang package
It is a class from java.sql package
It is a interface from java.sql package
It is a class from java.lang package
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is JDBC?
JDBC is a java based protocol.
JDBC is a standard Java API for database-independent connectivity between the Java programming language and a wide range of databases.
JDBC is a specification to tell how to connect to a database.
Joint Driver for Basic Connection
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following encapsulates an SQL statement which is passed to the database to be parsed, compiled, planned and executed?
DriverManager
JDBC driver
Connection
Statement
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid type of statement in JDBC?
Statement
PreparedStatement
CallableStatement
QueryStatement
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?