| Listing 10. Print three items of information. |
|---|
System.out.print(
((Prob05X)var1[0]).
getModifiedData() + " ");
System.out.print(randomData + " ");
System.out.println(
((Prob05X)var1[1]).
getModifiedData());
|