index of array element java code example
Example 1: java indexof array
java.util.Arrays.asList(theArray).indexOf(o)
Example 2: get index of element in array java
System.out.println(new String(list).indexOf("e"));
java.util.Arrays.asList(theArray).indexOf(o)
System.out.println(new String(list).indexOf("e"));