SecureView interview question

Why use static variable? Give a scenario where it is helpful?