Question 16
A developer has the following query: Contact c = [SELECT id, firstname, lastname, email FROM Contact WHERE lastname = 'Smith']; What does the query return if there is no Contact with the last name 'Smith'?
Question 17
How many accounts will be inserted by the following block ofcode? for(Integer i = 0 ; i < 500; i++) { Account a = new Account(Name='New Account ' + i); insert a; }
Question 18
Universal Containers requires Service Representatives to update all Cases at least one every three days. To make sure of this policy is obeyed, a developer has been asked to implement a field that displays the number of days since the last Case update. What should the developer use to configure the solution?
Question 19
A developer creates an Apex class that includes private methods. What can the developer do to ensure that the private methods can be accessed by the test class?
Question 20
Application Events follow the traditional publish-subscribe model. Which method is used to fire an event?
