Question 101

Which two statements are true about using the @testSetup annotation in an Apex test class? (Choose two.)
  • Question 102

    Given the following Apex statement:
    Account myAccount = [SELECT Id, Name FROM Account];
    What occurs when more than one Account is returned by the SOQL query?
  • Question 103

    A developer wants to override a button using Visualforce on an object.
    What is the requirement?
  • Question 104

    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'; }
  • Question 105

    Which two are best practices when it comes to component and application event handling? (Choose two.)