 Classes marked static are only allowed to contain static members.Static members are sometimes referred to as "class members" since they apply to the class as a whole and not to its instances.public class Foo
// Calling the class method.