Mistake: treating a reference type as a value type
Learn about the common mistake of treating a reference type as a value type.
We'll cover the following...
Suppose that a customer enters a supermarket and buys a chewing gum. The customer was also a diligent collector of empty bottles and happened to cash in 4000 bottles in exchange for a 1000€ voucher. The cashier ...