Which control statement should a developer use to implement a set of - ProProfs Discuss
Topics
Products
Follow Us:

Which control statement should a developer use to implement a set of code that executes for every record in the recordset, without performing a .size() or .length() method call?



A. For (init_stmt, exit_condition; increment_stmt) { } when the number of record in a recordset is unknown?
B. Do { } While (Condition)
C. For (variable : list_or_set) { }
D. While (Condition) { . }

This question is part of Salesforce Platform Developer 1
Asked by Wyatt Williams, Last updated: Jan 08, 2020

+ Answer
Request

1 Answer

John Smith

John Smith

Answered Apr 26, 2017

For (variable : list_or_set) { }

####
 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.