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*/ }
}
Answer: A
Latest CRT-450 Dumps Valid Version with 372 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund