In a single record, a user selects multiple values from a multi-select picklist. How are the selected values represented in Apex?
A. As a List
B. As a String with each value separated by a comma
C. As a String with each value separated by a semicolon
D. As a Set
A developer has the controller class below.
Which code block will run successfully in an execute anonymous window?
A. myFooController m = new myFooController();System.assert(m.prop !=null);
B. myFooController m = new myFooController();System.assert(m.prop ==0);
C. myFooController m = new myFooController();System.assert(m.prop ==null);
D. myFooController m = new myFooController();System.assert(m.prop ==1);
A Platform Developer needs to write an Apex method that will only perform an action if a record is assigned to a specific Record Type. Which two options allow the developer to dynamically determine the ID of the required Record Type by its name? (Choose two.)
A. Make an outbound web services call to the SOAP API.
B. Hardcode the ID as a constant in an Apex class.
C. Use the getRecordTypeInfosByName() method in the DescribeSObjectResult class.
D. Execute a SOQL query on the RecordType object.
What is a capability of the
A. Loading files from Documents.
B. One-time loading for duplicate scripts.
C. Specifying loading order.
D. Loading scripts in parallel.
E. Loading externally hosted scripts.
Which three options can be accomplished with formula fields? (Choose three.)
A. Generate a link using the HYPERLINK function to a specific record.
B. Display the previous value for a field using the PRIORVALUE function.
C. Determine if a datetime field value has passed using the NOW function.
D. Return and display a field value from another object using the VLOOKUP function.
E. Determine which of three different images to display using the IF function.
How should a developer prevent a recursive trigger?
A. Use a "one trigger per object" pattern.
B. Use a static Boolean variable.
C. Use a trigger handler.
D. Use a private Boolean variable.
A Visualforce page is required for displaying and editing Case records that includes both standard and custom functionality defined in an Apex class called myControllerExtension. The Visualforce page should include which
A. controller="Case" and extensions="myControllerExtension"
B. extensions="myControllerExtension"
C. controller="myControllerExtension"
D. standardController="Case" and extensions="myControllerExtension"
A newly hired developer discovers that there are multiple triggers on the case object.
What should the developer consider when working with triggers?
A. Developers must dictate the order of trigger execution.
B. Trigger execution order is based on creation date and time.
C. Unit tests must specify the trigger being tested.
D. Trigger execution order is not guaranteed for the same sObject.
What is the requirement for a class to be used as a custom Visualforce controller?
A. Any top-level Apex class that has a constructor that returns a PageReference
B. Any top-level Apex class that extends a PageReference
C. Any top-level Apex class that has a default, no-argument constructor
D. Any top-level Apex class that implements the controller interface
Which two statements are true about using the @testSetup annotation in an Apex test class? (Choose two.)
A. The @testSetup annotation cannot be used when the @isTest(SeeAllData=True) annotation is used.
B. Test data is inserted once for all test methods in a class.
C. Records created in the @testSetup method cannot be updates in individual test methods.
D. The @testSetup method is automatically executed before each test method in the test class is executed.
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Salesforce exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your CRT-450 exam preparations and Salesforce certification application, do not hesitate to visit our Vcedump.com to find your solutions here.