Which statement results in an Apex compiler error?

Which statement results in an Apex compiler error?A . Map<Id,Leas> lmap = new Map<Id,Lead>([Select ID from Lead Limit 8]);B . Date d1 = Date.Today(), d2 = Date.ValueOf(‘2018-01-01’);C . Integer a=5, b=6, c, d = 7;D . List<string> s = List<string>{‘a’,‘b’,‘c’);View AnswerAnswer: D

October 23, 2021 No Comments READ MORE +

Which three tools can deploy metadata to production? (Choose three.)

Which three tools can deploy metadata to production? (Choose three.)A . Change Set from Developer OrgB . Force.com IDEC . Data LoaderD . Change Set from SandboxE . Metadata APIView AnswerAnswer: A,D,E

October 23, 2021 No Comments READ MORE +

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...

October 23, 2021 No Comments READ MORE +

Which two methods should a developer use to create this case?

When an Account’s custom picklist field called Customer Sentiment is changed to a value of “Confused”, a new related Case should automatically be created. Which two methods should a developer use to create this case? (Choose two.)A . Process BuilderB . Apex TriggerC . Custom ButtonD . Workflow RuleView AnswerAnswer:...

October 23, 2021 No Comments READ MORE +

Which trigger event allows a developer to update fields in the Trigger.new list without using an additional DML statement?Choose 2 answers

Which trigger event allows a developer to update fields in the Trigger.new list without using an additional DML statement?Choose 2 answersA . Before insertB . Before updateC . After updateD . After insertView AnswerAnswer: A, B

October 22, 2021 No Comments READ MORE +

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...

October 22, 2021 No Comments READ MORE +

Which two platform features align to the Controller portion of MVC architecture? (Choose two.)

Which two platform features align to the Controller portion of MVC architecture? (Choose two.)A . Process Builder actionsB . Workflow rulesC . Standard objectsD . Date fieldsView AnswerAnswer: A,B

October 22, 2021 No Comments READ MORE +

What are two benefits of the Lightning Component framework? (Choose two.)

What are two benefits of the Lightning Component framework? (Choose two.)A . It simplifies complexity when building pages, but not applications.B . It provides an event-driven architecture for better decoupling between components.C . It promotes faster development using out-of-box components that are suitable for desktop and mobile devices.D . It...

October 22, 2021 No Comments READ MORE +

What is an accurate statement about variable scope? (Choose 3)

What is an accurate statement about variable scope? (Choose 3)A . Parallel blocks can use the same variable name.B . A variable can be defined at any point in a block.C . Sub-blocks cannot reuse a parent block's variable name.D . Sub-blocks can reuse a parent block's variable name if...

October 22, 2021 No Comments READ MORE +

Which three options can be accomplished with formula fields? (Choose three.)

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...

October 22, 2021 No Comments READ MORE +