Free TVB-450 Exam Braindumps (page: 8)

Page 8 of 38

What are three considerations when using the @InvocableMethod annotation in Apex? Choose 3 answers

  1. A method using the @InvocableMethod annotation must define a return value.
  2. A method using the @InvocableMethod annotation can have multiple input parameters.
  3. A method using the @InvocableMethod annotation must be declared as static
  4. A method using the @InvocableMethod annotation can be declared as Public or Global.
  5. Only one method using the @InvocableMethod annotqation can be defined per Apex class.

Answer(s): C,D,E



which statement is true regarding execution order when triggers are associated to the same object and event?

  1. Trigger execution order cannot be guaranteed.
  2. executed In the order they are modified.
  3. Triggers are executed alphabetically by trigger name.
  4. Triggers are executed in the order they are created.

Answer(s): A



A developer must create a CreditcardPayment class that provides an implementation of an existing Payment class. Public virtual class Payment { public virtual void makePayment(Decimal amount) { /*implementation*/ } } Which is the correct implementation?

  1. Public class CreditcardPayment extends Payment {
    public override void makePayment(Decimal amount) { /*implementation*/ } }
  2. Public class CreditCardPayment implements Payment {

    public virtual void makePayment(Decimal amount) { /*implementation*/ } }
  3. Public class CreditCardPayment extends Payment {
    public virtual void makePayment(Decimal amount) { /*implementation*/ } }
  4. Public class CreditCardPayment implements Payment {
    public override void makePayment(Decimal amount) { /*Implementation*/ } }

Answer(s): A



A develop completed modification to a customized feature that is comprised of two elements:
Apex trigger
Trigger handler Apex class
What are two factors that the developer must take into account to properly deploy the modification to the production environment?

  1. Apex classes must have at least 75% code coverage org-wide.
  2. At least one line of code must be executed for the Apex trigger.
  3. All methods in the test classes must use @isTest.
  4. Test methods must be declared with the testMethod keyword.

Answer(s): A,B



Page 8 of 38



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

ahmad hassan commented on September 06, 2023
pd1 with great experience
Anonymous
upvote

Parvez commented on August 10, 2023
pd1 with great experience
Anonymous
upvote