how to find any particular element in array in java code example Example: java find element in array array[array.indexOf(element)]