Salesforce Platform Developer I (legacy) — Question 216

Which three data types can be returned from an SOQL statement? (Choose three.)

Answer options

Correct answer: B, C, D

Explanation

The correct answers are B (List of sObjects), C (Single sObject), and D (Integer) because these are valid return types for SOQL queries. Option A (Boolean) is not a return type for SOQL, and option E (String) is also not directly returned by an SOQL statement.