Salesforce Platform Developer I (legacy) — Question 46

Which three declarative fields are correctly mapped to variable types in Apex? (Choose three.)

Answer options

Correct answer: A, D, E

Explanation

Option A is correct because Number in Salesforce is indeed mapped to Decimal in Apex. Option D is also accurate as Date/Time translates to Dateline in Apex. Option E is correct since Checkbox corresponds to Boolean. Options B and C are incorrect as Number does not map to Integer and TextArea is not a List of type String.