ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 329 - Certified Platform Developer II discussion

Report
Export

A developer is building a Lightning web component that displays quantity, unit price, and the total for an order line item. The total is calculated dynamically as the quantity multiplied by the unit price.

What must be added to display the total?

A.
Add get total() { return quantity * unitPrice;} to the JavaScript and Total: {total} in the template.
Answers
A.
Add get total() { return quantity * unitPrice;} to the JavaScript and Total: {total} in the template.
B.
Add calculate Total() {return quantity * unitPrice;} to the javaScript and Total : {calculate Total()} in the template.
Answers
B.
Add calculate Total() {return quantity * unitPrice;} to the javaScript and Total : {calculate Total()} in the template.
C.
Add Total: {quantity * UnitPrice} in the template.
Answers
C.
Add Total: {quantity * UnitPrice} in the template.
D.
Add Total; {multiple quantit,y unitprice)} in the template.
Answers
D.
Add Total; {multiple quantit,y unitprice)} in the template.
Suggested answer: B
asked 23/09/2024
Joyce Ann Devilles
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first