I mean if I have an array of integers int integers[] = {1,2,3,4,5} and an Object array that holds only integer Object objects[] = {5,4,3,2,1}
How can I match the object array to the integer array?
IT IS AN EXAMPLE, I mean that if the Object array contains strings and I save it in a String[] array, it allows me, if it has only characters I can save it in a char[] and so on with that logic.