We will use methods to add behaviors to objects. Also, we will create the mutable and immutable version of a 3D vector to understand the difference between an object that mutates state and an object that doesn't.
As it so happens with dogs, cats also have breeds. The
ScottishFold constructor function provides a blueprint for cats that belong to the Scottish Fold breed. We will ...