Road racers do time trials. Sometimes they do 2 trials a day, sometimes they do 3.
RoadRacer objects add up time trial times and stores the average time. is the RoadRace class.
Note: there are two methods that really do the same thing, they just have different parameter lists!
Method overloading is very convenient when designing methods which have similar behaviour but a different parameter list.
Method overloading is one form of polymorphism - the other is method overriding.
method
parameter
cast
return
method overloading
method overriding
polymorphism
idesyntax file class instantiate constructor type propertymethod