Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam PDI All Questions
Exam PDI All Questions

View all questions & answers for the PDI exam

Salesforce Developers PDI Question # 65 Topic 7 Discussion

PDI Exam Topic 7 Question 65 Discussion:
Question #: 65
Topic #: 7

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.