How do I move class to separate document?
<p>In this code, I would like to move the <code>Dollar</code>class to a separate <code>.java</code>file. What kind of import statements will I then need to add in this file? Do I need to make adjustments to <code>CLASSPATH</code>? I work on Mac OS X.</p>

<pre><code>import org.junit.Test;
import static org.junit.Assert.*;

public class TestDollar
{
    class Dollar
    {
        int amount;

        Dollar(int amount)
        {
        }

        void times(int multiplier)
        {
        }
    }

    public void testMultiplication()
    {
        Dollar five = new Dollar(5);
        five.times(2);
        assertEquals(10, five.amount);
    }
}
</code></pre>
