Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result these questions will not appear in the review screen.
You must extend the class SaleslineType and add a new method that returns the day of week for the system's current date as an integer value
You need to create a class that extends SalesLineType and adds the new method.
Solution: You create the following code:
Does the solution meet the goal?
Currently there are no comments in this discussion, be the first to comment!