title: What is the use of the static modifier in object-oriented programming?
body: <p>In one of my interviews, I was asked what the <code>static</code> modifier signifies. I replied by telling the interviewer that static class's object cannot be created and other useful points.</p>
  
  <p>But the interviewer asked what is the use of creating such a class whose objects cannot be created. Basically, they were asking why is <code>static</code> needed in the first place?</p>
  
  <p>I'm not really sure how to answer that question. What should I have said?</p>