nerdexam
SalesforceSalesforce

PDI · Question #111

PDI Question #111: Real Exam Question with Answer & Explanation

Sign in or unlock PDI to reveal the answer and full explanation for question #111. The question stem and answer options stay visible for context.

Submitted by lucia.co· Apr 18, 2026Logic and Process Automation

Question

A developer must implement a CheckPaymentProcessor class that provides check processing payment capabilities that adhere to what 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?

Options

  • APublic class CheckPaymentProcessor implements PaymentProcessor { public void pay(Decimal
  • BPublic class CheckPaymentProcessor implements PaymentProcessor { public void pay(Decimal
  • CPublic class CheckPaymentProcessor extends PaymentProcessor { public void pay(Decimal
  • DPublic class CheckPaymentProcessor extends PaymentProcessor { public void pay(Decimal

Unlock PDI to see the answer

You've previewed enough free PDI questions. Unlock PDI for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Apex Classes#Interfaces#Object-Oriented Programming#Apex Syntax
Full PDI PracticeBrowse All PDI Questions