Java: how to call non static method from main method?
<p>I'm learning java and now i've the following problem: I have the main method declared as</p>

<pre><code>public static void main(String[] args) {

..... }
</code></pre>

<p>Inside my main method, because it is <strong>static</strong> I can call ONLY other static method!!! Why ?</p>

<p>For example: I have another class</p>

<pre><code> public class ReportHandler {       
     private Connection conn;   
     private PreparedStatement prep;
     public void ExecuteBatchInsert() { ....
 } }
</code></pre>

<p>So in my main class I declare a <code>private ReportHandler rh = new ReportHandler();</code></p>

<p>But I can't call any method if they aren't static.</p>

<p>Where does this go wrong?</p>

<p>EDIT: sorry, my question is: how to 'design' the app to allow me to call other class from my 'starting point' (the <code>static void main</code>).</p>
