How to identify a variable data type in java : I'm building a program for homework and I want do do a type checking a certain array string that is composed of numbers and some characters in order to do something.
Like, if the element of that string is a integer, do something, else, do another thing. How can I do that? Is that possible?