A developer needs to create records for the object Property__c. The developer creates the following code block:List propertiesToCreate = helperClass.createProperties();try { // line 3 } catch (Exception exp ) { //exceptionhandling }Which line of code would the developer insert at line 3 to ensure that at least some records are created, even if a few records have errors and fail to be created?
Answer(s): A
hat are three techniques that a developer can use to invoke an anonymous block of code? Choose 3 answers
Answer(s): B,C,D
A developer has the following code:try {List 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 ');} What message will be logged?
Answer(s): B
A developer uses a test setup method to create an account named 'test'. The first method deletes the account record. What must be done in the second test method to use the account?
Which statement about the Lookup Relationship between a Custom Object and a Standard Object is correct?
Answer(s): C
Share your comments for Salesforce DEV-450 exam with other users:
will post exam has finished
will post once the exam is finished