Let's test your knowledge. Click the correct answer from the options.
Which of the following statements is true about transaction management in Java?
Click the option that best answers the question.
- A transaction consists of one or more database operations that are either all executed successfully or none of them are
- Java does not provide any built-in support for transaction management
- Transaction management can only be done using third-party libraries
- Transactions are only needed for complex database operations