MCQOPTIONS
Saved Bookmarks
This section includes 7 Mcqs, each offering curated multiple-choice questions to sharpen your Java (MCQ) questions and answers knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
JDBC stands for? |
| A. | Java database connectivity |
| B. | Java database concept |
| C. | Java database communications |
| D. | None of the above |
| Answer» B. Java database concept | |
| 2. |
Which JDBC product components does the Java software provide? |
| A. | The JDBC driver manager |
| B. | The JDBC driver test suite |
| C. | The JDBC-ODBC bridge |
| D. | All mentioned above |
| Answer» E. | |
| 3. |
What is used to execute parameterized query? |
| A. | Statement interface |
| B. | PreparedStatement interface |
| C. | ResultSet interface |
| D. | None of the above |
| Answer» C. ResultSet interface | |
| 4. |
Which method is used for an SQL statement that is executed frequently? |
| A. | prepareStatement |
| B. | prepareCall |
| C. | createStatement |
| D. | None of the above |
| Answer» B. prepareCall | |
| 5. |
How many types of JDBC drivers are available? |
| A. | 3 |
| B. | 4 |
| C. | 2 |
| D. | 5 |
| Answer» C. 2 | |
| 6. |
How many JDBC product components does the Java software provides? |
| A. | 3 |
| B. | 2 |
| C. | 4 |
| D. | 5 |
| Answer» B. 2 | |
| 7. |
Which driver uses ODBC driver to connect to the database? |
| A. | JDBC-ODBC bridge driver |
| B. | Native - API driver |
| C. | Network Protocol driver |
| D. | Thin driver |
| Answer» B. Native - API driver | |