CRT-450 Exam Question 151
A developer has the following class and trigger code:
public class InsuranceRates { public static final Decimal smokerCharge = 0.01; } trigger ContactTrigger on Contact (before insert) { InsuranceRates rates = new InsuranceRates(); Decimal baseCost = XXX; } Which code segment should a developer insert at the XXX to set the baseCost variable to the value of the class variable smokerCharge?
public class InsuranceRates { public static final Decimal smokerCharge = 0.01; } trigger ContactTrigger on Contact (before insert) { InsuranceRates rates = new InsuranceRates(); Decimal baseCost = XXX; } Which code segment should a developer insert at the XXX to set the baseCost variable to the value of the class variable smokerCharge?
CRT-450 Exam Question 152
A developer created a Visualforce page and custom controller to display the account type field as shown below.
Custom controller code:

Visualforce page snippet:
The Account Type is {!actType}
The value of the account type field is not being displayed correctly on the page. Assuming the custom controller is properly referenced on the Visualforce page, what should the developer do to correct the problem?
Custom controller code:

Visualforce page snippet:
The Account Type is {!actType}
The value of the account type field is not being displayed correctly on the page. Assuming the custom controller is properly referenced on the Visualforce page, what should the developer do to correct the problem?
CRT-450 Exam Question 153
A custom exception "RecordNotFoundException" is defined by the following code of block.public class RecordNotFoundException extends Exception()which statement can a developer use to throw a custom exception?choose 2 answers
CRT-450 Exam Question 154
A developer wrote Apex code that calls out to an external system.
How should a developer write the test to provide test coverage?
How should a developer write the test to provide test coverage?
CRT-450 Exam Question 155
Where are two locations a developer can look to find information about the status of asynchronous or future cals? Choose 2 answers
