What is the difference between overriding a method and overloading a
method name?
suppose the class SportsCar is a derived class of a class Automobile.
Suppose also that the class Automobile has private instance variables
named speed, manufacturer, and numberOfCylinders. Will an object of
the class SportsCar have instance variables named speed, manufacturer,
and numberOfCylinders?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here