Figure 8. The screen output.
-4- toString in class B, bTime = 70 
toString in class Y, yVar = 2000