A developer in a Salesforce org with 100 Accounts executes the - ProProfs Discuss
Topics
Products
Follow Us:

A developer in a Salesforce org with 100 Accounts executes the following code using the Developer console: Account myAccount = new Account(Name = 'MyAccount');Insert myAccount;For (Integer x = 0; x < 250; x++) {Account newAccount = new Account (Name='MyAccount' + x);try {Insert newAccount;}catch (Exception ex) {System.debug (ex) ;}}insert new Account (Name='myAccount'); How many accounts are in the org after this code is run?



A. 101
B. 100
C. 102
D. 252

This question is part of Salesforce Platform Developer 1
Asked by Cmduquer, Last updated: Jan 17, 2020

+ Answer
Request

1 Answer

cmduquer

Cmduquer

Answered Mar 09, 2019

100

####
 

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.