K
klauern
How do I use .getClass() in an object to find out what class it is?
If I am using a Vector to store Apple and Orange objects, how do I find
out whether I threw in an Apple at position x or an Orange at position
x?
If I am using a Vector to store Apple and Orange objects, how do I find
out whether I threw in an Apple at position x or an Orange at position
x?