How many ways we can call static variable and method

There are four ways to call static variable and static method

  1. By using new keyword.

  2. By using class name

  3. By creating object

  4. By assigning null to object reference

    with the help of this 4 method we call static variable and static method.