How to compile program when using import statement
<p>Assume one file is <code>A.java</code> in <code>pac</code> package and other file is <code>B.java</code> in <code>mac</code> package.</p>

<p><code>B.java</code> using <code>A</code> class of <code>pac</code> package. When I compile the <code>B.java</code> it shows error.</p>

<p>How can I refer to <code>A.java</code> to <code>JRE</code> so that it easily imports file in <code>B.java</code> and compiles it.</p>
