How do you reference another one of your classes in java?
<p>in Class1 I have a private float float1</p>

<p>I have two public methods to access this variable.</p>

<pre><code>public float getFloat1(){
        return float1;
    }

public void setFloat1(float f){
                float1 = f;
        }
</code></pre>

<p>How do I use these methods in Class2?</p>
