Which statement should a developer avoid using inside procedural - ProProfs Discuss
Topics
Products
Follow Us:

Which statement should a developer avoid using inside procedural loops?



A. System.debug( Amount of CPU time (in MS) used so far: + Limits.getCpuTime() );
B. List contacts = [SELECT ID, Salutation, FirstName, LastName, Email FROM Contact WHERE AccountId = :a.I;
C. If(o.accountId == a.ID)
D. Update contactList;

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

+ Answer
Request

1 Answer

John Smith

John Smith

Answered Apr 26, 2017

List contacts = [SELECT Id, Salutation, FirstName, LastName, Email FROM Contact WHERE AccountId = :a.Id];
Update contactList;

####
 

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.