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.
Correct answer A,B and D
A. Map<Id,Leas> lmap = new Map<Id,Lead>([Select ID from Lead Limit 8]); Leas is not the same as Lead.
B. Invalid identifier 'ג€˜2018'
D. Invalid identifier 'ג€˜aג€™'
Answer A contains a type. Map<Id,Leas> lmap = new Map<Id,Lead>([Select ID from Lead Limit 8]); Leas is not the same as Lead. This should throw an error as well.
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
questmajor
Highly Voted 2 years, 8 months agofios
Most Recent 7 months, 3 weeks agoManoranjanM
1 year agoGing1991
2 years, 4 months agotrilokesh
2 years, 9 months agoVasu9Deva
2 years, 11 months agonoox
2 years, 11 months agooscand15
2 years, 11 months agoekanki
3 years, 2 months agoMax641
3 years, 2 months ago