Programming Exercises



Programming Exercises

graphics/pe_icon.gif

1.1

Modify the program from Figure to use the PrintableCharStack class, rather than the CharStack class. Utilize the printStackElements() method from the PrintableCharStack class. Is the new program behavior-wise any different from Figure?