I\'m trying to debug a program I inherited. This program contains Strings, array lists and collections, lots of casting between types, and I need to do some String manipulations
For any object x, you could print x.getClass().
x
x.getClass()