Iterating through multiple lists using single for-each loop in java
<p>I have multiple lists created like below</p>

<pre><code>static List&lt;String&gt; dbName = new ArrayList&lt;String&gt;();
    static List&lt;String&gt; dbServerName = new ArrayList&lt;String&gt;();
    static List&lt;String&gt; lDbName = new ArrayList&lt;String&gt;();
    static List&lt;String&gt; lServerName = new ArrayList&lt;String&gt;();
    static List&lt;String&gt; serverName = new ArrayList&lt;String&gt;();
    static List&lt;String&gt; dbServerNameSecondary = new ArrayList&lt;String&gt;();
</code></pre>

<p>is it possible to iterate over all the list objects using a single for-each loop
like below </p>

<p>for (items in dbName,dbServerName....)</p>

<p>I would like to iterate parallely and put the values obtained in the below query</p>

<p>String drop = "Drop table if exists "+hive_db+"."+"IB_C3_"+dbName+"_"+dbServerName;</p>