4.3.11 How to Use Static Methods

Static methods are methods that can be called without instantiating an instance of that class. Up until this point we have used object notation to call methods on that particular object (zoo.FeedAnimal()). Declaring a method static, however, enables us to call a method inside the class without needed to have a Zoo object first. To do call a static method we use the class name then the method such as Zoo.FeedAnimal(). The articles below cover how to define and call static methods.