Find the error in each of the following code segments.
// Superclasspublic class Vehicle{ private double cost; public Vehicle(double c) { cost = c; } (Other methods...)}// Subclasspublic class Car extends Vehicle{ private int passengers; public Car(int p) { passengers = c; } (Other methods...)}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.