Java - Go To Non-Static Void From Static Void? : <p>Well as my code doesn't really help very much, I wont show any unless someone needs to see some.</p>

<p>But I'll give an example of what I want to do.</p>

<p>Example: "Class1.java"</p>

<pre><code>class Class1 {

    int num = 3 + 2;

    public static void Main(String[] args) {
        Class2.Main2();
    }
}
</code></pre>

<p>Example: "Class2.java"</p>

<pre><code>class Class2 {

    public void Main2() {
        System.out.println(Class1.num);    // Would return as an error, as you cannot access static objects from non-static objects/methods.
    }
}
</code></pre>

<p>Anyone know how to allow going from one static method to another non-static method, or vice versa?</p>

<p>Thanks.</p>
