Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam CRT-450 Topic 7 Question 54 Discussion

Actual exam question for Salesforce's CRT-450 exam
Question #: 54
Topic #: 7
[All CRT-450 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Mabel
6 days ago
I was thinking the same thing! A for loop and an if/else is the simplest and most efficient approach here.
upvoted 0 times
...
Tracey
12 days ago
Hmm, a for loop with an if or if/else statement sounds like the way to go. Seems more straightforward than a switch statement or nested loops.
upvoted 0 times
...
Golda
22 days ago
I'm not sure, but I think option A could also work if implemented correctly.
upvoted 0 times
...
Shayne
25 days ago
I agree with Tomoko, a for loop with an if or if/else statement inside makes sense.
upvoted 0 times
...
Tomoko
26 days ago
I think the developer should use option C.
upvoted 0 times
...

Save Cancel