How many accounts will be inserted by the following block ofcode? for(Integer i = 0 ; i < 500; i++) { Account a = new Account(Name=’New Account ‘ + i); insert a; }

Posted by: Pdfprep Category: PDI Tags: , ,

How many accounts will be inserted by the following block ofcode? for(Integer i = 0 ; i < 500; i++) { Account a = new Account(Name=’New Account ‘ + i); insert a; }
A . 150
B . 0
C . 500
D . 100

Answer: B