A developer has written the following method:
static void processList(List input){
Which code block can be used to call the method?
A. processList (acc)
B. processList ([FIND 'Acme" 'RETURNING Account])
C. processList([SELECT Id, Name FROM sObject WHERE Type = 'Account'])
D. for Account acc : [SELECT Id, Name FROM Account])
Suggest answer: D
Reference:
No comments:
Please share to make the community better.