title: Import two packages that have the same classe but also other classes
body: <p>If I have two different packages that have classes with the same name, and I want specifically to call class1 from package1 I would use:</p>
  
  <pre><code>import package1.class1;
  import package2.*;
  </code></pre>
  
  <p>But what if I also want all the other classes of package1? Would the correct code be:</p>
  
  <pre><code>import package1.*;
  import package2.*;
  </code></pre>
  
  <p>and then</p>
  
  <pre><code>package1.class1 teste = new package1.class1();
  </code></pre>
  
  <p>?</p>