Methods declared inside classes always have automatic lifetimes. The static keyword in front of the function is a class member modifier indicating it is associated with the class type, not an instance(object) of the class.
Methods declared inside classes always have automatic lifetimes. The static keyword in front of the function is a class member modifier indicating it is associated with the class type, not an instance(object) of the class.