public ArrayList<Car> FindCarById(int id){
        ArrayList<Car> result = new ArrayList<Car>();
        for(int i=0;i<RaceCar1list.size();i++){
            if(RaceCar1list.get(i).getId()==id) {
                result.add(RaceCar1list.get(i));
            }
        }
        for(int i=0;i<RaceCar2list.size();i++){
            if(RaceCar2list.get(i).getId()==id){
                result.add(RaceCar2list.get(i));
            }
        }
        for(int i=0;i<Automobilelist.size();i++){
            if(Automobilelist.get(i).getId()==id){
                result.add(Automobilelist.get(i));
            }
        }
        for(int i=0;i< TruckList.size();i++){
            if(TruckList.get(i).getId()==id){
                result.add(TruckList.get(i));
            }
        }
        return result;

    }