Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Salesforce Certified Platform Developer I (PDI) · Salesforce
Select 2 answers.
This question asks for 2 answers, but our data marks only 1. Compare with the community discussion below for the full answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
Either A, to iterate every item in the list or D to get elements from the list with an index
choices: A. for (Account theAccount : AccountList) {...} B. for(AccountList) {...} C. for (List L : AccountList) {...} D. for (Integer i=0; i < AccountList.Size(); i++) {...}