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