Basically, static variable are the those variable which are declared once and have shared memory for all instance.
-Static variable may be local or global