Options are :
A) Account a= [select id , Name from Account where Id= :con.AccountId LIMIT 1]
B) delete contactList();
C) contactList.remove(i);
D) Contact con=new Contact();
11 respuestas
Yes,
Consider number of time loop is running. Today it could be leeser but going forward if you have more contacts, loop size can be more.
And in 1 synchronous transction, it will get into governor limits.