The object has its own properties and can do with it different things. Class is not an object, but its definition (eg. The class is a dog, but not the specific copy). The class definition contains variables (object properties) and function (what you can do with these objects). By using such a convention programming time can be easier to describe the interactions between objects. Here’s how to define a sample class and examples of actions on it.
// Start the class definition Basket – defining basket shop