Salesforce Platform Developer I (CRT-450) Test 2

© examsiri.com
Question : 11 of 25
 
Marks: +1, -0
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?
Go to Question: