X698: ItemToPurchase class exercise 3

In the default constructor for the ItemToPurchase class, set the following values for the fields:

  • name = "none"
  • price = 0.0
  • quantity = 0

Your Answer:

Feedback

Your feedback will appear here when you check your answer.