Why do I get an error in my array:
public static void main(String[] args) {
// Create an array of 4 vehicles
Vehicle[] myVehicles = new Vehicle[4];
// Populate each entry of the array with a vehicle
myVehicles[0] = new Vehicle("Honda", 4, 6f, true);
myVehicles[1] = new Vehicle("Bicycle", 2, 0f, true);
myVehicles[2] = new Vehicle("Motorcycle", 3, 2f, false);
myVehicles[3] = new Vehicle("Toyota", 4, 4f, false);
// 3 because it starts at 0, so only need 0,1,2,3```
```public class Vehicle {
// Instance variables
private String Type; // type of vehicle
private int Number_of_Wheels; // number of wheels
private float Engine_Size; // the size of the engine
private boolean Gas_Electric; // USE BOOLEAN
}```