Which statement results in an Apex compiler error?
Posted: Fri Aug 26, 2022 10:03 am
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ג€™);
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ג€™);