I have a pojo class name User. Now I am creating ArrayList of User's class using following statement.
ArrayList<User> userArrayList = new ArrayList();
I have another class whose constructure accept a arraylist of Object i.e.
public className(ArrayList<Object> objectArrayList){
}
Now if I want to pass userArrayList into objectArrayList then what conversion should I need to use