Listing 17 produced the screen output shown in Figure 9.
Figure 9. The screen output. |
---|
---------------------- Display second B-Object -1- In showB, private bTime = 100 In showB, private aTime = 10 In showB, final methTime = 40 In showB, protected xVar = 1000 In showB, protected yVar = 2000 In showB, class name = A$1$B -2- In showA, aTime = 10 In showA, xVar = 1000 In showA, class name = A -3- In showB, bTime = 100 In showB, aTime = 10 -4- toString in class B, bTime = 100 toString in class Y, yVar = 2000 |
File: dy.htm | [Next] | [Prev] |