Mistake: treating a value type as a reference type
Learn about the common mistake of treating a value type as a reference type.
We'll cover the following...
We'll cover the following...
Suppose that the increaseAge method was erroneously implemented like this:
The age stays 22 even after executing the increaseAge function. ...