Exam JavaScript-Developer-I Topic 7 Question 159 Discussion
Actual exam question for Salesforce's JavaScript-Developer-I exam
Question #: 159
Topic #: 7
Question #: 159
Topic #: 7
A class was written to represent items for purchase in an online store, and a second class representing items that are on sale at a discounted price. The constructor sets the name to the first value passed in. The pseudocode is below:

There is a new requirement for a developer to implement a description method that will retrun a brief description for item and saleitem.

What is the out when executing the code above?

There is a new requirement for a developer to implement a description method that will retrun a brief description for item and saleitem.

What is the out when executing the code above?
Suggested Answer: D Vote an answer
by Harley at Oct 27, 2023, 10:35 PM
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).