Câu 121: Salesforce Certified Platform Developer I
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 inter…
Nội dung câu hỏi
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?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. public class CheckPaymentProcessor implements PaymentProcessor { public void pay(Decimal amount);
- B. public class CheckPaymentProcessor implements PaymentProcessor { public void pay(Decimal amount){} — đáp án hiện tại
- C. public class CheckPaymentProcessor extends PaymentProcessor { public void pay(Decimal amount){}
- D. public class CheckPaymentProcessor extends PaymentProcessor { public void pay(Decimal amount);
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.