Salesforce DEX-450 Exam - Topic 8 Question 15 Discussion
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?
A) Public class CreditcardPayment extends Payment {
public override void makePayment(Decimal amount) { /*implementation*/ }
}
B) Public class CreditCardPayment implements Payment {
public virtual void makePayment(Decimal amount) { /*implementation*/ }
}
C) Public class CreditCardPayment extends Payment {
public virtual void makePayment(Decimal amount) { /*implementation*/ }
}
D) Public class CreditCardPayment implements Payment {
public override void makePayment(Decimal amount) { /*Implementation*/ }
}
Shenika
10 months agoAllene
10 months agoFelix
10 months agoEarleen
11 months agoCaitlin
11 months agoDerick
11 months agoMerilyn
11 months agoDominque
11 months agoAndrew
11 months agoShantell
11 months agoCecil
11 months agoIvette
11 months ago