title: in java,how to iterate list of objects
body: <p>i am having the list <code>myEmpls</code> </p>
  
  <pre><code>List myEmpls = new ArrayList();
  </code></pre>
  
  <p>In this list i have added used defined objects.</p>
  
  <pre><code>LogConf e = getLogs(el);
      //add it to list
   myEmpls.add(e);
  </code></pre>
  
  <p>Now how to iterate the list of objects and get the values from this objects.
  How to do this?</p>