If you already kept them in the same directory, I guess, the name of files could be the reason for the compilation error
Please verify the file name "Vehicle.java".
I guess, you might have given the file/class name as
vehicle.java .
and, in car.java, You have used
public class Car extends Vehicle {
that gives you the problem. As
Java is case senitive, its not finding the Vehicle in Car.java
Hope that helps!!
murthy
[ June 18, 2002: Message edited by: Murthy Ram ]