Tech Mahindra interview question

What is use of static variable?