ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 95 - Certified Platform Developer II discussion

Report
Export

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); Given the following code, what value will be output in the logs by line #8?

A.
5
Answers
A.
5
B.
3
Answers
B.
3
C.
4
Answers
C.
4
D.
2
Answers
D.
2
Suggested answer: C
asked 23/09/2024
Russell James
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first