In Java. Let's say you're given the following Array. Or something similar
int[] anArray = {10, 20, 30, 40, 1000};
Is there a way to take the length of the array element at anArray[4]; ?
I need to know if the array[x] is == 4. As in 2004, or 1000, or 1968.
How can i do this?