title: What is the use of this parameter In java
body: <p>In java we can call a global variable in parameter like </p>
  
  <pre><code>setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  </code></pre>
  
  <p>My question is that this method required int on parameter but we give a global variable here Why and what its call.</p>