```
        //Origin, Destination, Date of Dept, Time of Dept, Date of Arr, Time of Arri, Fare, Seats, Unique ID.
        Trip t1 = new Trip("City1", "City2", "18-12-20", "10:00", "18-12-20", "12:30", 23, 50, 1);
        Trip t2 = new Trip("City2", "City1", "18-12-20", "13:00", "18-12-20", "15:30", 25, 50, 2);
        Trip t3 = new Trip("City3", "City4", "18-12-20", "10:15", "18-12-20", "11:45", 12, 40, 3);
        Trip t4 = new Trip("City4", "City3", "18-12-20", "12:15", "18-12-20", "13:45", 12, 40, 4);

```

Is there a way, I can store all these objects into an ArrayList without knowing the number of objects there may be?