Unit 5 MCQ Ans
Unit 5 MCQ Ans
(a) javax.sql
(b) java.mysql
(c) java.sql
(d) com.sql
Answer: c
Answer: d
(a) RowSet
(b) Statement
(c) Connection
(d) ResultSet
Answer: d
(a) DriverManager
(b) Driver
(c) Connection
Answer: d
Q. 5 What does the following code do : smt = con.createStatement( )
Answer: b
Q. 6 Which of the following function is used to find the column count of the particular ResultSet.
(a) getMetadata( )
(b) metadata( )
(c) getColumnCount( )
(d) getCount( )
Answer: c
(a) ODBC
(b) JDBC
(d) APIs
Answer: b
Answer: b
(a) ODBC
(b) JDBC
(d) APIs
Answer: b
10 The JDBC‐ODBC bridge supports how many concurrent open statements per connection ?
(a) 1
(b) 0
Answer: a