PrepAway - Latest Free Exam Questions & Answers

Which statement results in an Apex compiler error?

Which statement results in an Apex compiler error?

A. Map<Id,Leas> 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’);


Leave a Reply