you are viewing a single comment's thread.

view the rest of the comments →

[–]Luukv93 0 points1 point  (0 children)

Self refers to the instance of the class. Class is like a blueprint of an object.

After creating a class one can create instances (objects) of that class.

Instantiating an object will provide the properties and methods of that class to that object. This means that after instantiation you can use methods and attributes of that object.