Example 8:

ScaledJRobo class inherits basic functionality from JRobo class, but overrides the f() method to change the way it works (thus scaling all drawings.)