title: Is it possible to import several packages at once in Java?
body: <p>I would like for example to do the following:</p>
  
  <pre><code>import packageA.*, packageB.*;
  </code></pre>
  
  <p>but the above notation does not work. Is it possible to do this somehow in Java, or do I always have to type:</p>
  
  <pre><code>import packageA.*;
  import packageB.*;
  </code></pre>
  
  <p>?</p>