Because you defined your Base Typ "Vehical" at this line
Vehical car = new Car();
The compiler is looking for the start method in the Vehical class (at runtime the start method in the car class will called), but because you marked it protected you have no access to the start method. [ October 24, 2007: Message edited by: Dzu-I Kou ]
In the Car class, you cannot access Vehical methods through a Vehical Object (except the method is public). You can use the super keyword to access Vehicals methods (if override) or just direct. [ October 24, 2007: Message edited by: Dzu-I Kou ]
You may have just won ten million dollars! Or, maybe a tiny ad.
a bit of art, as a gift, that will fit in a stocking