Salesforce
CRT-450 · Question #167
CRT-450 Question #167: Real Exam Question with Answer & Explanation
Sign in or unlock CRT-450 to reveal the answer and full explanation for question #167. The question stem and answer options stay visible for context.
Question
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?
Options
- APublic class CreditcardPayment extends Payment {
- BPublic class CreditCardPayment implements Payment {
- CPublic class CreditCardPayment extends Payment {
- DPublic class CreditCardPayment implements Payment {
Unlock CRT-450 to see the answer
You've previewed enough free CRT-450 questions. Unlock CRT-450 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.