Valid PDI Dumps shared by EduDump.com for Helping Passing PDI Exam! EduDump.com now offer the newest PDI exam dumps, the EduDump.com PDI exam questions have been updated and answers have been corrected get the newest EduDump.com PDI dumps with Test Engine here:
Access PDI Dumps Premium Version
(205 Q&As Dumps, 35%OFF Special Discount Code: freecram)
Recent Comments (The most recent comments are at the top.)
C is correct answer
The code should be this:
try{
List<String> nameList;
Account a;
String s = a.Name;
nameList.add(s);
}
catch(ListException le)
{
System.debug('List Exception');
}
catch( NullpointerException npe )
{
System.debug('Nullpointer Exception');
}
catch( Exception e )
{
System.debug ('Generic Exception') ;
}
}
Try it in anonymous window
This is a syntax error so i think the only right answer is A. No message i going to be logged as the syntax error will show up
This code can't be saved even
I tried to execute the code above on the anonym block and it gives me this error :
Line: 2, Column: 1
Unexpected token 'List'.
The List expects a type ( String , Integer ... )