Which two number expressions evaluate correctly? (Choose two.)
Which two number expressions evaluate correctly? (Choose two.)A . Double d = 3.14159;B . Integer I = 3.14159;C . Decimal d = 3.14159;D . Long l = 3.14159;View AnswerAnswer: A,C
For which three items can a trace flag be configured? (Choose three.)
For which three items can a trace flag be configured? (Choose three.)A . Apex TriggerB . Apex ClassC . Process BuilderD . UserE . VisualforceView AnswerAnswer: A,B,D
Which two Apex data types can be used to reference a Salesforce record ID dynamically? (Choose two.)
Which two Apex data types can be used to reference a Salesforce record ID dynamically? (Choose two.)A . ENUMB . sObjectC . External IDD . StringView AnswerAnswer: A,D
How can a developer set up a debug log on a specific user?
How can a developer set up a debug log on a specific user?A . It is not possible to setup debug logs for users other than yourself.B . Ask the user for access to their account credentials, log in as the user and debug the issue.C . Create Apex code...
What is a benefit of using an after insert trigger over using a before insert trigger?
What is a benefit of using an after insert trigger over using a before insert trigger?A . An after insert trigger allows a developer to bypass validation rules when updating fields on the new record.B . An after insert trigger allows a developer to insert other objects that reference the...
The Visualforce page should include which <apex:page> attribute(s) to correctly implement controller functionality?
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 <apex:page> attribute(s) to correctly implement controller functionality?A . controller=“Case” and extensions=“myControllerExtension”B . extensions=“myControllerExtension”C . controller=“myControllerExtension”D . standardController=“Case” and extensions=“myControllerExtension”View...
What should a developer do to meet these requirements?
The operation manager at a construction company uses a custom object called Machinery to manage the usage and maintenance of its cranes and other machinery. The manager wants to be able to assign machinery to different constructions jobs, and track the dates and costs associated with each job. More than...
Which approach should a developer take to automatically add a “Maintenance Plan” to each Opportunity that includes an “Annual Subscription” when an opportunity is closed?
Which approach should a developer take to automatically add a “Maintenance Plan” to each Opportunity that includes an “Annual Subscription” when an opportunity is closed?A . Build a OpportunityLineItem trigger that adds a PriceBookEntry record.B . Build an OpportunityLineItem trigger to add an OpportunityLineItem record.C . Build an Opportunity trigger...
What should the developer do to deploy to production?
A developer created a Visualforce page and a custom controller with methods to handle different buttons and events that can occur on the page. What should the developer do to deploy to production?A . Create a test class that provides coverage of the Visualforce page.B . Create a test page...
How should a developer create a new custom exception class?
How should a developer create a new custom exception class?A . public class CustomException extends Exception{}B . CustomException ex = new (CustomException)Exception();C . public class CustomException implements Exception{}D . (Exception)CustomException ex = new Exception();View AnswerAnswer: A