CRT-450 Exam Question 41

A developer is asked to write negative tests as part of the unit testing for a method that calculates a person's age based on birth date. What should the negative tests include?
  • CRT-450 Exam Question 42

    Which Apex collection is used to ensure that all values are unique?
  • CRT-450 Exam Question 43

    A developer runs the following anonymous code block in a Salesforce org with 100 accounts List acc= {select id from account limit 10}; delete acc; database.emptyrecyclebin(acc); system.debug(limits.getlimitqueries()+'
    ,'+Limits.getlimitDMLStatements()); What is the debug output?
  • CRT-450 Exam Question 44

    A developer working on a time management application wants to make total hours for each timecard available to applications users. A timecard entry has a Master-Detail relationship to a timecard. Which approach should the developer use to accomplish this declaratively?
  • CRT-450 Exam Question 45

    A developer wants to display all of the available record types for a Case object. The developer also wants to display the picklist values for the Case.Status field. The Case object and the Case Status field are on a custom visualforce page.
    Which action can the developer perform to get the record types and picklist values in the controller? Choose 2 answers