New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce DEX-450 Exam - Topic 8 Question 15 Discussion

Actual exam question for Salesforce's DEX-450 exam
Question #: 15
Topic #: 8
[All DEX-450 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Shenika
4 months ago
Wait, can you really use "virtual" in that context?
upvoted 0 times
...
Allene
4 months ago
Totally agree with A, it's the right syntax!
upvoted 0 times
...
Felix
4 months ago
Isn't it weird that D uses "implements" but has "override"?
upvoted 0 times
...
Earleen
4 months ago
I think it's actually C.
upvoted 0 times
...
Caitlin
4 months ago
Option A looks correct to me.
upvoted 0 times
...
Derick
5 months ago
I feel like "override" is the right keyword here, but I can't recall if it should be used with "extends" or "implements."
upvoted 0 times
...
Merilyn
5 months ago
I remember practicing a similar question where we had to implement an interface. I think "implements" is used for interfaces, not classes.
upvoted 0 times
...
Dominque
5 months ago
I think the class should extend Payment, but I'm not sure if I should use "override" or "virtual" for the method.
upvoted 0 times
...
Andrew
5 months ago
I thought "virtual" was for defining methods in interfaces, so I'm leaning towards option A or C for extending the class.
upvoted 0 times
...
Shantell
5 months ago
Hmm, I'm not too familiar with the different Magento APIs. I'll have to review the documentation on each one to decide which one is most suitable for this use case.
upvoted 0 times
...
Cecil
5 months ago
Hmm, this seems straightforward. The key is figuring out what permission the Sales Manager needs to subscribe to the report.
upvoted 0 times
...
Ivette
5 months ago
I'm a little confused by the difference between an Application Group and an Application Filter. I'll need to review those concepts before deciding.
upvoted 0 times
...

Save Cancel