when inheridng from classwe can alter the behavior of the original superclass by "overridingfuncdons ( declaring funcdons in the subclass with the same namefuncdons in subclass take precedence over funcdons in superclass