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