What should a developer working in a sandbox use to exercise a new test Class before the developer deploys that test production?Choose 2 answers
Correct Answer:
BC
A developer needs to write a method that searches for a phone number that could be on multiple object types. Which method should the developer use to accomplish this task?
Correct Answer:
C
Which approach should a developer use to add pagination to a Visualforce page?
Correct Answer:
D
A developer uses a before insert trigger on the Lead object to fetch the Territory c object, where the Territory c.PostalCode c matches the Lead.PostalCode. The code fails when the developer uses the Apex Data Loader to insert 10,000 Lead records. The developer has the following code block: Line-01: for (Lead l : Trigger.new){Line-02: if (l.PostalCode != null) {Line-03: List
Correct Answer:
A
A developer has a block of code that omits any statements that indicate whether the code block should execute with or without sharing. What will automatically obey the organization-wide defaults and sharing settings for
the user who executes the code in the Salesforce organization?
Correct Answer:
D