Cars
Activity - wk2dy2
Write a PHP class that encapsulates and display different catergories Color, Model and Brand and extends to its superclass.
Super class : Car
class Car {
public function __construct();
//Encapsulate your member function here `color`, `model` and `brand`
}
Sub classess : MentorCar, StudentCar
class MentorCar extends Car {
//Your code
}
class StudentCar extends Car {
//Your code
}
Finished : Submit a link of the source code to the Google Classroom assignment related to this project.