Given the following code, what value will be output in the logs by line #8?
Given the following code, what value will be output in the logs by line #8?
1 Contact con = new Contact ( LastName =fSmith’, Department = fAdminT)
2 insert con;
3 Contact insertedContact=[select Name from Contact where id=icon.Id];
4 Savepoint sp_admin = Database.setSavepoint();
5 con.Department = fHRf;
6 update con;
7 Database.rollback(sp_admin);
8 System.debug(Limits.getDmlStatements 0);
A . 5
B . 3
C . 4
D . 2
Answer: C
Latest PDII Dumps Valid Version with 280 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments