Introduction
Methods help organize code inside classes. Different method types serve different jobs to keep code clear and easy to use.
Use instance methods when you want to work with data unique to each object.
Use class methods when you need to change or access data shared by all objects of a class.
Use static methods when the task relates to the class but does not need any object or class data.