ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 108 - Certified Platform Developer II discussion

Report
Export

A custom field Exec_Count_c of type Number is created on an Account object. An account record with value of "1" for a: Exec__Count_c is saved. A workflow field update is defined on the Exec_Count_c field, to increment its value every time an account record is created or updated. The following trigger is defined on the account: trigger ExecOrderTrigger on Account (before insert, before update, after insert, after update){ for (Account accountlnstance: Trigger.New){ if (Trigger . isBefore){ accountlnstance Exec_Count_c += 1; } System, debug (accountlnstance.Exec_Count_c); } }

A.
1,2,3,3
Answers
A.
1,2,3,3
B.
1,2,3,4
Answers
B.
1,2,3,4
C.
2, 2, 4, 4
Answers
C.
2, 2, 4, 4
D.
2,2,3,3
Answers
D.
2,2,3,3
Suggested answer: C
asked 23/09/2024
Sathiyaraj Arulprakasam
47 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first