Index 1 : Include carData.php
Index2 : Edit car.class.php

Update attributes and constructor
Index 3 : Imlementing to cars.php and car.class.php

car.class.php
--> create getter and setter for class
-->Add new getCarAge() function

cars.php
-->using for loop to add all car from carData into newly create array
$car

-->Advertise the all the car details using for loop.