Add the following encapsulated fields/properties: (4 points) string make, string model, string color, int topSpeed, int currentSpeed, int direction, bool isMoving, string typeOfVehicle 3. Add three constructor methods: (6 points) 1) accept a parameter for typeOfVehicle. Set isMoving to false. Set make and model both to “Unknown” 2) accept parameters for make, model, color, typeOfVehicle. Set isMoving to false 3) accept parameters for make, model, color, typeOfVehicle, topSpeed. Set isMoving to false
Writingforgrades.com’s reference papers should only be used as models. Students are not permitted to copy or submit them in their entirety. These reference papers are solely for research and reference purposes.
+44 456 768 5464