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 one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
The list and the account are both not initialized. Thus it will result in a NullPointerException when trying to insert the account. But will still throw a NullPointerException even if account was initialized since List is not.
tested in anonymous, c is correct
C - Correct