Free CRT-450 Exam Braindumps

Pass your Salesforce Certified Platform Developer I (SU18) exam with these free Questions and Answers

Page 2 of 34
QUESTION 1

What are three characteristics of static methods? (Choose three.)

  1. A. Initialized only when a class is loaded
  2. B. A static variable outside of the scope of an Apex transaction
  3. C. Allowed only in outer classes
  4. D. Allowed only in inner classes
  5. E. Excluded from the view state for a Visualforce page

Correct Answer: ACE

QUESTION 2

What is the result of the debug statements in testMethod3 when you create test data using testSetup in below code?
CRT-450 dumps exhibit

  1. A. Account0.Phone=333-8781, Account1.Phone=333-8780
  2. B. Account0.Phone=888-1515, Account1.Phone=999-2525
  3. C. Account0.Phone=333-8780, Account1.Phone=333-8781
  4. D. Account0.Phone=888-1515, Account1.Phone=999-1515

Correct Answer: C

QUESTION 3

A lead object has a custom field Prior_Email c. The following trigger is intended to copy the current Email into the Prior_Email c field any time the Email field is changed:
CRT-450 dumps exhibit
Which type of exception will this trigger cause?

  1. A. A null reference exception
  2. B. A compile time exception
  3. C. A DML exception
  4. D. A limit exception when doing a bulk update

Correct Answer: C

QUESTION 4

Which action can a developer perform in a before update trigger? (Choose 2)

  1. A. Display a custom error message in the application interface.
  2. B. Change field values using the Trigger.new context variable.
  3. C. Delete the original object using a delete DML operation.
  4. D. Update the original object using an update DML operatio

Correct Answer: AB

QUESTION 5

A developer creates a custom controller and custom Visualforce page by using the following code block:public class myController {public String myString;public String getMyString() {return 'getmyString';}public String getStringMethod1() {return myString;}public String getStringMethod2() {if (myString == null)myString = 'Method2';return myString;}}{!myString}, {!StringMethod1}, {!StringMethod2}, {!myString}What does the user see when accessing the custom page?

  1. A. GetMyString , , Method2 , getMystring
  2. B. , , Method2 , getMyString
  3. C. , , Method2,
  4. D. GetMyString , , ,

Correct Answer: A

Page 2 of 34

Post your Comments and Discuss Salesforce CRT-450 exam with other Community members: