Exam Plat-Dev-201 Topic 2 Question 158 Discussion
Actual exam question for Salesforce's Plat-Dev-201 exam
Question #: 158
Topic #: 2
Question #: 158
Topic #: 2
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?
public interface PaymentProcessor { void pay(Decimal amount); }
Which is the correct implementation to use the PaymentProcessor interface class?
Suggested Answer: C Vote an answer
by Haley at Oct 07, 2026, 05:03 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).