Salesforce
CRT-450 · Question #225
Which statement generates a list of Leads and Contacts that have a field with the phrase 'ACME'?
The correct answer is B. List<List <sObject>> searchList = [FIND '*ACME*" IN ALL FIELDS RETURNING Contact, Lead]. See the full explanation below for the reasoning.
Question
Which statement generates a list of Leads and Contacts that have a field with the phrase 'ACME'?
Options
- AList<List <sObject>> searchList = [SELECT Name, ID FROM Contact, Lead WHERE Name like
- BList<List <sObject>> searchList = [FIND 'ACME" IN ALL FIELDS RETURNING Contact, Lead];
- CMap <sObject> searchList = [FIND 'ACME' IN ALL FIELDS RETURNING Contact, Lead];
- DList <sObject> searchList = [FIND 'ACME' IN ALL FIELDS RETURNING Contact, Lead];
How the community answered
(54 responses)- A6% (3)
- B70% (38)
- C9% (5)
- D15% (8)
Community Discussion
No community discussion yet for this question.