# CRT-450 — Question 602

**Type:** multiple_choice
**Topics:** topic_1

## Question

Which statement results in an Apex compiler error?

## Correct Answer

_See scenario._

## Explanation

Based on the actual Exam, the items are:
A. Map<Id, Lead> lmap = new Map<Id, Lead>([Select ID from Lead Limit 8]);
B. Date d1 = Date.Today(), d2 = Date.ValueOf('2018-01-01');
C. Integer a=5, b=6, c, d = 7;
D. List<string> s = List<string>{'a','b','c');

So the correct answer is D.

**Reference:** examtopics_top_comment

---
Source: https://hiexam.net/q/salesforce/CRT-450/602  
Practice (tracked): https://hiexam.net/study/CRT-450/practice