Salesforce Platform Developer I (CRT-450) Test 2

© examsiri.com
Question : 14 of 25
 
Marks: +1, -0
Which message is logged by the code below?
try{
  List idList;
  Account a;
  insert a;
  Id acctId = a . Id;
  idList . add( acctId );
}catch ( ListException le ) {
  System.debug('List Exception');
}catch ( NullpointerException npe ){
  System.debug('Nullpointer Exception');
}catch ( Exception e ) {
  System.debug ( 'Generic Exception');
}
Go to Question: