Static is a modifier. Static can be method, variable, constructor and class.
- Static variables can be initialized only once during lifecycle of class.
- If we declare a method using the static modifier then it is called a static method. We can directly consume the static members within a non-static method without any restriction.
- If we create the constructor explicitly by the static modifier, then we call it a static constructor. Static constructor is the fast block of code that gets executed under a class.
- Class which is created by using the static modifier is called a static class. A static class can contain only static members. It is not possible to create an instance of a static class.


