Methods can be of three main types -- regular method like we’ve seen already within a class,
sometimes called instance methods, or shared methods. Regular methods are called instance
methods because you need to first create an instance of the class (an object) with the new
operator before these methods can be called. Shared methods, called class methods in other
languages, are owned by the class itself and not by any individual object. You can use these even
if you haven’t created an instance of the class by using the syntax ClassName.MethodName.