How to implement non-static method in a static class?
<p>Is there a way to implement <code>wait();</code> (non-static method) in a static context. For example:</p>

<pre><code>public static void getkeylist(List keylist){
   for (int i=0;i&lt;keylist.size();i++){
         System.out.println(keylist.get(i));
         wait(1000);   
   }
}
</code></pre>

<p>I am getting an error "Non-static method wait(long) cannot be referred from static context."</p>

<p>Please help me to solve my problem. Thank you in advance.</p>
