Static data members field (variable) and method belong to class. Static fields can be used before creating an instance of the class and static method can be accessed using class name.
Static data member has a class scope. A single copy of static data member get shared within the objects of that class. A non-static member cannot access a static member of that class.