Salesforce Certified Platform Developer (Plat-Dev-201) PDI Question # 4 Topic 1 Discussion

Salesforce Certified Platform Developer (Plat-Dev-201) PDI Question # 4 Topic 1 Discussion

PDI Exam Topic 1 Question 4 Discussion:
Question #: 4
Topic #: 1

A developer wants to mark each Account in a List as either Active or Inactive, based on the value in the LastModified each Account being greater than 90 days in the past.

Which Apex technique should the developer use?


A.

An if-else statement, with a for loop inside


B.

A witch statement, with a for loop inside


C.

A for loop, with an if or if/else statement inside


D.

A for loop, with a switch statement inside


Get Premium PDI Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.