You are a manager of a parking lot and decide to keep track all the cars parked in your lot. You want to know the maker, model, color, and license plate of the cars. Since you learned about ArrayList and you like to use an ArrayList to keep track of cars entered the lot. Each time a car left the lot, the remove method of ArrayList class can be used. Each time a car entered, add method can be used. To keep track how many cars in the lot, the size method can be used.
But before you write your application to create a class called MyParkingLot, you have to write a class call Car which contains all the information you need as describe in the previous paragraph. Also develop constructor(s) and getters or setters as needed so that you can retrieve (get) and record (set) information such as maker, model, color, and license plate number.
For MyParkingLot class, it shall consist of an ArrayList which will be used to maintain the information of all the cars in and out of this parking lot.