A developer must implement a CheckPaymentProcessor class that provides check processing payment capabilities that adhere to what is defined for payments in the PaymentProcessor interface

15 of 34

A developer must implement a CheckPaymentProcessor class that provides check processing payment capabilities that adhere to what is defined for payments in the PaymentProcessor interface.

public interface PaymentProcessor {
    void pay(Decimal amount);
}

Which is the correct implementation to use the PaymentProcessor interface class?

Was this helpful?

1 / 15