correct error of CarCompany.getNumOfCar();