For this ans is having two step.
1. you can define the list and initialize it with arrayList of same type of object.
like List a= new ArrayLIst();
2. List or ArrayList or any other collection class is storing same type of object. They are creating space for that object. so due to the size of object we have to define and initialize with same type of object.