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
9 months agoAllene
9 months agoFelix
9 months agoEarleen
9 months agoCaitlin
9 months agoDerick
9 months agoMerilyn
9 months agoDominque
9 months agoAndrew
10 months agoShantell
10 months agoCecil
10 months agoIvette
10 months ago