title: How to convert POJO class list to Object list?
body: <p>I have a pojo class name User. Now I am creating ArrayList of User's class using following statement. </p>
  
  <pre><code>ArrayList&lt;User&gt; userArrayList = new ArrayList();
  </code></pre>
  
  <p>I have another class whose constructure accept a arraylist of Object i.e. </p>
  
  <pre><code> public className(ArrayList&lt;Object&gt; objectArrayList){
   }
  </code></pre>
  
  <p>Now if I want to pass userArrayList into objectArrayList then what conversion should I need to use </p>