nerdexam
Salesforce

PDII · Question #69

[FIND 'map' IN ALL FIELDS RETURNING Account (Id, Name), Contact, Opportunity, Lead] What is a valid return type for the following SOSL query?

The correct answer is B. List<List<sObject>>. See the full explanation below for the reasoning.

Question

[FIND 'map' IN ALL FIELDS RETURNING Account (Id, Name), Contact, Opportunity, Lead] What is a valid return type for the following SOSL query?

Options

  • AList<sObject>
  • BList<List<sObject>>
  • CList<AggregateResult>
  • DList<Account>

How the community answered

(31 responses)
  • A
    3% (1)
  • B
    84% (26)
  • C
    3% (1)
  • D
    10% (3)

Community Discussion

No community discussion yet for this question.

Full PDII Practice