MCQOPTIONS
Saved Bookmarks
This section includes 4 Mcqs, each offering curated multiple-choice questions to sharpen your Advanced Java knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Which of the following is not a JDBC connection isolation levels? |
| A. | TRANSACTION_NONE |
| B. | TRANSACTION_READ_COMMITTED |
| C. | TRANSACTION_REPEATABLE_READ |
| D. | TRANSACTION_NONREPEATABLE_READ |
| Answer» E. | |
| 2. |
Which of the following is used to rollback a JDBC transaction? |
| A. | rollback() |
| B. | rollforward() |
| C. | deleteTransaction() |
| D. | RemoveTransaction() |
| Answer» B. rollforward() | |
| 3. |
Which of the following is used to limit the number of rows returned? |
| A. | setMaxRows(int i) |
| B. | setMinRows(int i) |
| C. | getMaxrows(int i) |
| D. | getMinRows(int i) |
| Answer» B. setMinRows(int i) | |
| 4. |
WHICH_OF_THE_FOLLOWING_IS_NOT_A_JDBC_CONNECTION_ISOLATION_LEVELS??$ |
| A. | TRANSACTION_NONE |
| B. | TRANSACTION_READ_COMMITTED |
| C. | TRANSACTION_REPEATABLE_READ |
| D. | TRANSACTION_NONREPEATABLE_READ |
| Answer» E. | |