There is a product class in our store:
case class Item(id: String, price: BigDecimal, description: String)
We have created an instance of the product:
val item = Item(1, 999.90, "A really useful thing")
But, at some point, we decided to change its description as follows:
item.description = "Actually not a very useful thing"
What will we get as a result?