If we import one package in java program means Is there need to extend it?
<p>If we import one package in java program means Is there need to extend it?</p>

<pre><code>import Apack.Bpack.Myclass

class Thisclass extends Myclass{
}
</code></pre>

<p>my question is whether we need extends here?</p>

<p>for example<br>
if i want a variable from Myclass then need to extend or import or both?</p>
