What are three characteristics of static methods? (Choose three.)
What are three characteristics of static methods? (Choose three.)A . Initialized only when a class is loadedB . A static variable outside of the scope of an Apex transactionC . Allowed only in outer classesD . Allowed only in inner classesE . Excluded from the view state for a Visualforce...
What is the value of x after the code segment executes?
What is the value of x after the code segment executes? String x = 'A'; Integer i = 10; if ( i < 15 ) {i = 15; x = 'B';} else if ( i < 20 ) {x = 'C';} else {x = 'D'; }A . DB . AC...
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
What is the value of x after the code segment executes?
What is the value of x after the code segment executes? String x = 'A'; Integer i = 10; if ( i < 15 ) {i = 15; x = 'B';} else if ( i < 20 ) {x = 'C';} else {x = 'D'; }A . DB . AC...
What is an important consideration when developing in a multi-tenant environment?
What is an important consideration when developing in a multi-tenant environment?A . Governor limits prevent tenants from impacting performance in multiple orgs on the same instance.B . Unique domain names take the place of namespaces for code developed for multiple orgs on multiple instances.C . Polyglot persistence provides support for...
How should the developer design the Apex classes?
A developer created a Lightning component to display a short text summary for an object and wants to use it with multiple Apex classes. How should the developer design the Apex classes?A . Have each class define method getObject() that returns the sObject that is controlled by the Apex class.B...
What should the developer consider when working with triggers?
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...
Which three declarative fields are correctly mapped to variable types in Apex? (Choose three.)
Which three declarative fields are correctly mapped to variable types in Apex? (Choose three.)A . Number maps to Decimal.B . Number maps to Integer.C . TextArea maps to List of type String.D . Date/Time maps to Dateline.E . Checkbox maps to Boolean.View AnswerAnswer: A,D,E
How are the selected values represented in Apex?
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<String> with each value as an element in the listB . As a String with each value separated by a commaC . As a String with...
What is a capability of the Developer Console?
What is a capability of the Developer Console?A . Execute Anonymous Apex code, Create/Edit code, view Debug Logs.B . Execute Anonymous Apex code, Run REST API, create/Edit code.C . Execute Anonymous Apex code, Create/Edit code, Deploy code changes.D . Execute Anonymous Apex code, Run REST API, deploy code changes.View AnswerAnswer:...