Assume the classes described in Exercise 3 and consider a main method that contains the following statements: LandVehicle landVeh; MotorizedLandVehicle motorVeh;
a. Which of these objects can invoke the method wheelCount ?
b. Which of these objects can invoke the method fuelType ?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here