Java SE 7 Programmer II (1Z0-804)

© examsiri.com
Question : 6 of 8
 
Marks: +1, -0
Given the code fragment:try {
/*assume "conn" is a valid Connection object */
/* assume a valid Statement object is created*/
/* assume rollback invocations will be valid*/
/*use SQL to add 10 to a checking account */
Savepoint s1 = conn.setSavePoint();
/*use SQL to add 100 to the same checking account */
Savepoint s2 = conn.setSavePoint();
/* use SQL to add 1000 to the same checking account */
/* insert valid rollback method invocation here */
} catch (Exception e) { }
Which two statements are true?
Go to Question: