how to find a position of an element in an array in java code example Example: get index of element in array java System.out.println(new String(list).indexOf("e"));